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.

Attachment: signals.c.patch
Description: Binary data

Reply via email to