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: Wed, 2 Jul 2008 20:27:17 +0000
I create process with g_spawn_async_with_pipes. Is it possible to kill it?
Not in a cross-platform way. On POSIX, a GPid is just a pid, so use
kill(). On Windows, GPid is a HANDLE for the process, so use
TerminateProcess().
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]