forked from aniani/vim
patch 7.4.1381
Problem: Exit value not available on MS-Windows. Solution: Set the exit value.
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user