The process may not exit as a result of calling this function (it is given
the chance to prompt the user for any unsaved files, etc).
- On Windows, terminate() posts a WM_CLOSE message to all toplevel windows
- of the process and then to the main thread of the process itself. On Unix
- and Mac OS X the SIGTERM signal is sent.
-
- Console applications on Windows that do not run an event loop, or whose
- event loop does not handle the WM_CLOSE message, can only be terminated by
- calling kill().
-
- On Symbian, this function requires platform security capability
- \c PowerMgmt. If absent, the process will panic with KERN-EXEC 46.
-
- \note Terminating running processes from other processes will typically
- cause a panic in Symbian due to platform security.
-
- \sa {Symbian Platform Security Requirements}
\sa kill()
*/
void QProcess::terminate()
On Unix the SIGKILL signal is sent to the process.
- \note Killing running processes from other processes will typically
- cause a panic in Symbian due to platform security.
-
- \sa {Symbian Platform Security Requirements}
\sa terminate()
*/
void QProcess::kill()