RunCommand() will run the command loaded in the |segList| with the arguments specified with a new stack of |stacksize| bytes.
The return code of the command run will be returned.
This call will not return until the command has completed.
INPUTS
segList
segment of program to run.
stacksize
size of the stack to use.
argptr
pointer to NUL-terminated arguments.
argsize
size of the arguments string.
RESULT
The return code from the program. See also IoErr().
EXAMPLE
SEE ALSO
SystemTagList()
NOTES
BUGS
INTERNALS
HISTORY
20.10.1998 hkiel
Amiga Research OS
24.12.1997 iaint
Added documentation
18.04.1997 aros
Polish
19.03.1997 digulla
Removed log
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions
Moved #include's into first column
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
10.10.1996 digulla
Wrong cast (Fleischer)
13.09.1996 digulla
Use IPTR
11.09.1996 digulla
Always use __AROS_SLIB_ENTRY() to access shared external symbols, because
some systems name an external symbol "x" as "_x" and others as "x".
(The problem arises with assembler symbols which might differ)
13.08.1996 digulla
Replaced <dos/dosextens.h> by "dos_intern.h" or added "dos_intern.h"
Replaced __AROS_LA by __AROS_LHA