Re: GLib Kill Process




On Mon, 3 May 2010, Nader Morshed wrote:

As a note, using the built-in Windows function
"TerminateProcess" (
http://msdn.microsoft.com/en-us/library/ms686714(VS.85).aspx )
fails with the error: "The handle is invalid"...

Are you sure that you specified the flag G_SPAWN_DO_NOT_REAP_CHILD
and that g_spawn_close_pid() has not been called, and that the
process is indeed still alive, before using TerminateProcess?

Allin Cottrell




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]