| C T L _ C L I R U N ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English PORTA - CTL_#?
----------------------------------------------------------------------------
NAME
ctl_clirun() - Allows to run program in a CLI.
SYNOPSIS
res = ctl_clirun(cmd, output, async);
LONG ctl_clirun(UBYTE *, UBYTE *, BOOL);
FUNCTION
This func. allows to run program in a CLI either in sync
with the current process or asynchronously always in OS
native shell.
INPUTS
cmd - Command to be launched.
output - Where to redirect the output. Most common are:
"CONSOLE:" or "NIL:", but that can be any other
existing target. To redirect to a file you will
have to create it first and allow in-exclusive
access. Passing NULL means "CONSOLE:".
async - TRUE for async., FALSE for sync.
RETURNS
Returns -1 on error or the return code of the command.
BASES
DOSBase
NOTES
None.
SEE ALSO
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |