h6. [[OS SWI Calls]] h6(. » OS_CLI h2. OS_CLI h5. (SWI &05) |_<^{width:3em}. Entry | | |<^. R0 |<^. Pointer to string terminated by Null, Linefeed or Return | |_<^{width:3em}. Exit | | |<^. R0|<^. Preserved| h4. Use The purpose of this call is to process a command, as if typed in the CLI. h4. Notes When it is called, it performs the following actions: * Checks the stack space, if there's not enough free memory to establish the stack the error 'No room for supervisor stack' is returned. * Checks the command line length. Prior to RISC OS 4, a CLI-command has to be less than 257 bytes long, including the terminator. If it's longer, the call is ignored without returning an error. Later OS versions increase the limit to 1024 bytes including terminator. * Then execute the command as any other *Command typed in CLI