vle-startapp


(vle-startapp  cmd  args  mode)

runs the specified command, optionally with arguments, and optionally waits for the process to end (synchronous execution)

Arguments

'cmd'  the command / program to run (*.exe  *.com  *.bat)
'args'  optional arguments as string, or NIL if no arguments
'mode'  T specifies to wait for the process, NIL specifies to run parallel

Return

process ID if started parallel, or the program's return status if started synchronously

Example

(vle-startapp "notepad.exe" "test.dat" t)
starts notepad.exe with "test.dat" file, running synchronously

Alias


Remarks

replaces (startapp), which does not wait for the process (asynchronous)




©  Bricsys NV. All rights reserved.