**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 ([[jvs:fscan:manual:chapter4:fscandir|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 [[jvs:fscan:manual:chapter2:run|'-Run 5']] command. **See Also:**\\ [[jvs:fscan:manual:chapter2:run|Run]] [[jvs:fscan|fScan Home]], [[jvs:fscan:manual|fScan Manual]], [[jvs:fscan:manual:chapter3|KeyCmds]], [[jvs:fscan:manual:chapter3:winkeys|WinKeys]], [[jvs:fscan:manual:help|Manual Help]]