commit | eab089d22f172ddd2d33367a998e68c2f1c6c989 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Feb 21 19:32:02 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Feb 21 19:32:02 2016 +0100 |
tree | 2034b685a1314a1dea8ba9fd3d165163cf6a873e | |
parent | ee1cffc07a42441924c5353af7fd7ab6e97e5aae [diff] [blame] |
patch 7.4.1381 Problem: Exit value not available on MS-Windows. Solution: Set the exit value.
diff --git a/src/os_win32.c b/src/os_win32.c index 631f88e..0470450 100644 --- a/src/os_win32.c +++ b/src/os_win32.c
@@ -5127,6 +5127,7 @@ || dwExitCode != STILL_ACTIVE) { job->jv_status = JOB_ENDED; + job->jv_exitval = (int)dwExitCode; return "dead"; } return "run";