User Tools

Site Tools


jvs:fscan:manual:chapter3:winkeys:exec

fScan Reference Manual, Chapter 3 (KeyCmds:WinKeys): exec

Exec -- Execute a shell script

usage: “cmdline”,flag E

The EXECUTE interactive command runs a shell (CSH) commandfile within your fScan session. The CMDLINE string must have a valid fScan shell script file name as the first argument, followed by arguments to be passed to that shell script. Valid shell scripts are those contained in the “EXEC sub-directory within the fScan system directory (FSCANDIR).

The FLAG argument can be used to control asynchronous execution of the command file.

1 - wait for command to end
2 - verbose mode: indicate shell command line being executed
4 - no CMDLINE, just show status of scripts currently running

By default, fScan will attempt to execute its shell script on the current host computer. The default behavior can be modified by setting these string variables:

  • exechost
  • execuser
  • sshcmd

To execute a shell script from an fScan command-line you can also use the '-Run 5' command.

See Also:
Run

fScan Home, fScan Manual, KeyCmds, WinKeys, Manual Help

jvs/fscan/manual/chapter3/winkeys/exec.txt · Last modified: 2023/02/23 18:43 (external edit)