0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 7.4.1381

Problem:    Exit value not available on MS-Windows.
Solution:   Set the exit value.
This commit is contained in:
Bram Moolenaar
2016-02-21 19:32:02 +01:00
parent ee1cffc07a
commit eab089d22f
3 changed files with 4 additions and 1 deletions

View File

@@ -5127,6 +5127,7 @@ mch_job_status(job_T *job)
|| dwExitCode != STILL_ACTIVE)
{
job->jv_status = JOB_ENDED;
job->jv_exitval = (int)dwExitCode;
return "dead";
}
return "run";