h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » Wimp_StartTask h2. Wimp_StartTask h5. (SWI &400DE) |_<^. Entry |_<^. | |<^. R0 |<^. Pointer to *command string | |_<^. Exit |_<^. | |/2<^. R0 |<^. Task handle of child, or | |<^. 0 if it has exited | h4. Use The purpose of this call is to create a new task and execute the given * command. h4. Notes The SWI returns control when the new task exits, or calls [[Wimp_Poll|Wimp_Poll]]. This call can only be used from USR mode with an empty SVC stack, and only when it is the 'live' task. i.e gained control from [[Wimp_Initialise|Wimp_Initialise]] or Wimp_Poll. It is not sufficient to drop from SVC mode into USR mode to call this SWI, and precludes starting taks from within: * Callbacks * Interrupts * Filters * SWIs * Vectors (events, etc…) * Any other system call mechanism h4. See also * [[Wimp_Initialise|Wimp_Initialise]] * [[Wimp_Poll|Wimp_Poll]]