Use of $ZF(-1) is deprecated
Major
- Reliability
- Exception handling
The usage of $ZF(-1) is deprecated and should be used $ZF(-100) instead.
$ZF(-1) executes using the OS shell and it is synchronous ( it suspends execution of the current process while awaiting completion of the spawned child process). It receives status information from the spawned process, which it returns as an exit status code (an integer value) when the spawned process completes. $ZF(-1) does not set $ZCHILD.
$ZF(-100) permits an InterSystems IRIS process to invoke an executable program or a command of the host operating system. It executes the program or command specified in program as a spawned child process from the current console. $ZF(-100) allows you to invoke a program or command either synchronously or asynchronously, with or without invoking the operating system shell. $ZF(-100) sets $ZCHILD to the PID of the started program.