summaryrefslogtreecommitdiffstats
path: root/ProcessWin32.c
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2017-11-02 13:44:34 (GMT)
committerBrad King <brad.king@kitware.com>2017-11-02 13:48:53 (GMT)
commit5464e23ff5e822b8a99a3cd234c54ff4632ccb98 (patch)
tree984582ddfd3df190788b79b9d97f3595b672734f /ProcessWin32.c
parent7d3f33e6129232a6814af47a19a72fd500414508 (diff)
downloadCMake-5464e23ff5e822b8a99a3cd234c54ff4632ccb98.zip
CMake-5464e23ff5e822b8a99a3cd234c54ff4632ccb98.tar.gz
CMake-5464e23ff5e822b8a99a3cd234c54ff4632ccb98.tar.bz2
KWSys 2017-11-02 (54f0901a)
Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 54f0901ad1a1c545a1360a19b5c521857b5a66ec (master). Upstream Shortlog ----------------- Bryon Bean (1): 8e428c18 Process: Add function to kill process (and children) with pid
Diffstat (limited to 'ProcessWin32.c')
-rw-r--r--ProcessWin32.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ProcessWin32.c b/ProcessWin32.c
index 945fa28..82fdc74 100644
--- a/ProcessWin32.c
+++ b/ProcessWin32.c
@@ -1466,6 +1466,11 @@ void kwsysProcess_Kill(kwsysProcess* cp)
for them to exit. */
}
+void kwsysProcess_KillPID(unsigned long process_id)
+{
+ kwsysProcessKillTree((DWORD)process_id);
+}
+
/*
Function executed for each pipe's thread. Argument is a pointer to
the kwsysProcessPipeData instance for this thread.