apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk" <mt...@mappingsoft.com>
Subject [PATCH] WIN32 Optimistic apr_proc_kill
Date Fri, 15 Feb 2002 21:30:41 GMT
Hi all,

The TerminateProcess has a nasty habit to kill the process using brute
force.

The patch I propose tries to inject the ExitProcess function to the remote
process and calling that function, causing 'normal' process termination. If
that fails the TerminateProcess is called.

This is useful when you try to launch the process without stdio.
All that applies to NT platform only, cause other flavors does not support
the CreateRemoteTread API.

MT.

Mime
View raw message