[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How kill a process with its GPid?
- From: "Tor Lillqvist" <tml iki fi>
- To: gege2061 <gege2061 redaction-developpez com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How kill a process with its GPid?
- Date: Thu, 3 Jul 2008 19:32:19 +0300
> Have you planned to add this function? It's a part of bug #142591
> (g_pid_terminate).
I don't think killing a (child) process is necessarily something that
can be usefully wrapped cross-platform. TerminateProcess() is a
somewhat abrupt way to kill a process on Windows (you might want to
send the windows of a GUI process WM_CLOSE messages instead, or
whatever), and on POSIX you might want to send some other signal than
SIGKILL (which is what most closely corresponds to
TerminateProcess()).
--tml
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]