acet-sys-spawn


(acet-sys-spawn  flags  os-cmd  [arg1  [arg2 ...]])

Runs the os-cmd command in OS environment (executing a program).
flags are used to control the behaviour (can be combined) : 1 = wait for execution to be finished, 2 = run minimised
arg1, arg2, ...  additional arguments to be passed to the executable (like commandline arguments);

Returns either the exit code of the program (when running in synchronous mode), or the PID value of the program (when running in asynchronous mode).


©  Bricsys NV. All rights reserved.