On Linux/Unix the C$SYSTEM library routine uses Java API. In order to make it reflect the system() C library function behavior, set the iscobol.system.exec property to the special value “c”.
The command specified in commandLine is executed asynchronously. Only on Windows, the system command interpreter (usually cmd.exe) is used to run the command specified in commandLine. Note - The flags CSYS-MAXIMIZED, CSYS-MINIMIZED and CSYS-HIDDEN require jna libraries (installed along with isCOBOL) in the Classpath.systemStatus can be any signed numeric data item. It receives the exit status of commandLine.Example - Run notepad.exe and wait for it to finish
| Copyright (c) 2017 Veryant |
| Contact us |
|
Please share your comments on this manual or on any Veryant product documentation with the email button at the top left |