summaryrefslogtreecommitdiff
path: root/process-win.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-04-17 10:54:22 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2021-04-17 10:54:22 -0400
commit6ad4547b465a83f7f3681d464110288895093944 (patch)
tree6d9e37e31c1c9930e8061bb070f10fe37d8d8780 /process-win.c
parentb8c5d256646130067cc6f2d4db676dc2173522ac (diff)
fix process_kill on posix
Diffstat (limited to 'process-win.c')
-rw-r--r--process-win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process-win.c b/process-win.c
index d7ff4b2..a5f05c0 100644
--- a/process-win.c
+++ b/process-win.c
@@ -26,7 +26,7 @@ bool process_run(Process *process, char const *command) {
strbuf_printf(process->error, "Out of memory.");
return false;
}
- // we need to create a "job" for this, because apparently when you kill a process on windows,
+ // we need to create a "job" for this, because when you kill a process on windows,
// all its children just keep going. so cmd.exe would die, but not the actual build process.
// jobs fix this, apparently.
HANDLE job = CreateJobObjectA(NULL, NULL);