UNIXCMD
The UNIXCMD compiler directive causes creation of an object code file containing the specified command. The instruction uses the following format:
|
|
|
|
Where:
command
Optional. A command line that is added to the object code file.
Flags Affected: NONE
Note the following:
If no {command} is specified, "plb" is used.
The '-c' PLBCMP command line option will override any UNIXCMD directives found in a program's source. The compiler will give an appropriate compiler warning if a UNIXCMD is being ignored.
When this instruction is used, all 8.7 and later runtimes will recognize and properly execute the program. However, if the program is executed by a runtime for a prior release, a U12 runtime error will occur.
See Also: Compiler Directives
![]() |