LOTUSSCRIPT LANGUAGE
Starts another program.
Syntax
Shell ( program [ , windowStyle ] )
Elements
program
Using an internal DOS command name generates an error.
Return value
If LotusScript successfully starts program, Shell returns the number 33.
Note To get the program's task ID, use the Shellid function instead.
If LotusScript cannot start program, Shell returns an error.
Usage
Shell must be called from within an expression or an assignment statement, so that its return value is used.
In a UNIX or AIX environment, LotusScript will resume execution of the script only after the program has completed.
In other environments, after Shell starts a program, LotusScript continues to execute the script without waiting to make sure the program has completed. You cannot be sure that a program started by Shell has finished running before the rest of your script is executed.
Language cross-reference
@LaunchApp function in formula language
AttachmentLaunch @command in formula language
Execute @command in formula language
Example See Also