www.riscos.com Technical Support: |
|
This SWI call is for use by the ShellCLI module only. You must not use it in your own code.
This SWI call is for use by the ShellCLI module only. You must not use it in your own code
*ShellCLI
None
*ShellCLI invokes a command shell from a Wimp program, starting it as a Wimp task. It prompts the user with *, and passes each line that the user types to the command line interpreter, OS_CLI. This is repeated until the user enters a blank line, whereupon control is returned to the Wimp program. The Task Manager uses this command to implement its *Command (F12) menu item.
You must call *ShellCLI using *WimpTask or the SWI Wimp_StartTask, rather than using the command line or the SWI OS_CLI. You can only call Wimp_StartTask or *WimpTask from within an active task.
The command uses the two SWIs Shell_Create and Shell_Destroy; it is the only user of these SWIs.
*WimpTask ShellCLI
None