mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
use DEBUG_ONLY_THIS_PROCESS
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4897 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -1169,7 +1169,7 @@ BOOLEAN PhCreateProcessIgnoreIfeoDebugger(
|
||||
|
||||
// The combination of ReadImageFileExecOptions = FALSE and the DEBUG_PROCESS flag
|
||||
// allows us to skip the Debugger IFEO value.
|
||||
if (CreateProcess(FileName, NULL, NULL, NULL, FALSE, DEBUG_PROCESS, NULL, NULL, &startupInfo, &processInfo))
|
||||
if (CreateProcess(FileName, NULL, NULL, NULL, FALSE, DEBUG_PROCESS | DEBUG_ONLY_THIS_PROCESS, NULL, NULL, &startupInfo, &processInfo))
|
||||
{
|
||||
// Stop debugging taskmgr.exe now.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user