|
|
SHELLW_CLIENT
|
Syntax: |
SHELLW_CLIENT[(<Macroname>)] <Command> [,<Only
1 macro call>]
|
||||||
|
|
|
||||||
|
Meaning: |
Executes a shell command on the client
computer. A window is opened in which the standard output of the command is
displayed. If a <Macroname> is specified, the standard
output of the command is also diverted to the program: With each output line
the Macro <Macroname> is executed if <Only 1 macro call> = 0 or
the parameter is missing. EBUS_STDOUT$ contains the line and EBUS_DATA = -1 if it is an error output (Stderror), and EBUS_DATA = 0 if it is a standard output of the command. If <Only 1 macro call> <> 0 the
macro <Macroname> is executed only once after the <Command> has
been executed. EBUS_STDOUT$ contains all standard outputs separated by EBUS_LINEFEED$. The switch ENABLE
/ DISABLE WAITSHELL controls whether
the program waits until the execution of the command is terminated or whether
it continues immediately. |
||||||
|
Parameter: |
|
||||||
|
Sample: |
SHELLW_CLIENT "dir *.dat /W" SHELLW_CLIENT "c:\prog.exe" |
||||||
|
See also: |
|