@runCommandFit(CMD, [SHOW], [FILENAMETITLE])

Shows and then runs a Linux command and escapes output results. Font control window size is set to 'fit' mode.

The following parameters are recognized:

CMD

The command to run.

[SHOW]

The command to echo out to user (optional).

[FILENAMETITLE]

File name and PDF title for this run command (optional).

This macro is defined as:

@runCommand("@param(0)","@ifEqual("@param(1)","","","@param(1)")","{
  buttons: FontControl.ALL_BUTTONS | FontControl.VIEW_BUTTON | FontControl.DOWNLOAD_BUTTON | FontControl.COPY_CONTENTS_BUTTON,
  fileNamePrefix: @ifEqual("@param(2)","","'command'","'@param(2)'"),
  initMode: 'fit'
}")