This shows you the differences between two versions of the page.
jvs:fscan:manual:chapter3:winkeys:exec [2016/07/19 19:29] voyvodic |
jvs:fscan:manual:chapter3:winkeys:exec [2023/02/23 18:43] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | **fScan Reference Manual, Chapter 3 (KeyCmds: | ||
- | ===== Exec -- Execute a shell script ===== | ||
- | **usage: " | ||
- | |||
- | 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: | ||
- | |||
- | 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: | ||
- | **See Also:**\\ | ||
- | [[jvs: | ||
- | |||
- | [[jvs: | ||
- | [[jvs: | ||
- | [[jvs: | ||
- | [[jvs: | ||
- | [[jvs: | ||