0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.0.0048

Problem:    On Windows job_stop() stops cmd.exe, not the processes it runs.
            (Linwei)
Solution:   Iterate over all processes and terminate the one where the parent
            is the job process. (Yasuhiro Matsumoto, closes #1184)
This commit is contained in:
Bram Moolenaar
2016-10-27 16:46:53 +02:00
parent 50e5376926
commit a350bab042
3 changed files with 45 additions and 26 deletions

View File

@@ -1437,7 +1437,6 @@ struct jobvar_S
#endif
#ifdef WIN32
PROCESS_INFORMATION jv_proc_info;
HANDLE jv_job_object;
#endif
jobstatus_T jv_status;
char_u *jv_stoponexit; /* allocated */