Shell Commands/Run
From MorphOS Library
Run - Spawns a background shell or process
DETACH/S, QUIET/S, STACK/K/N, PRI/K/N, COMMAND/F
DETACH - Runs the command on a fake CLI QUIET - Removes text messages STACK - Specify the stacksize (in bytes) of the command to run PRI - Specify the priority of the command to run COMMAND - Command to run (must be the LAST argument)
Run attempts to run the command COMMAND including specified arguments in the background. You can run multiple commands by separating them with a '+'. If you press [Return] after a plus sign, Run interprets the next line as a continuation of the same command line.
NOTE: to be able to close the CLI window after having detached a command, you have to redirect the command's output to NIL:
Example:
MorphOS:> run >NIL: SYS:Utilities/Taskmanager