Problem: Exit value not available on MS-Windows.
Solution: Set the exit value.
|| dwExitCode != STILL_ACTIVE)
{
job->jv_status = JOB_ENDED;
+ job->jv_exitval = (int)dwExitCode;
return "dead";
}
return "run";
job_T *jv_prev;
#ifdef UNIX
pid_t jv_pid;
- int jv_exitval;
#endif
#ifdef WIN32
PROCESS_INFORMATION jv_proc_info;
#endif
jobstatus_T jv_status;
char_u *jv_stoponexit; /* allocated */
+ int jv_exitval;
char_u *jv_exit_cb; /* allocated */
int jv_refcount; /* reference count */
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1381,
/**/
1380,
/**/