patch 7.4.1381
Problem: Exit value not available on MS-Windows.
Solution: Set the exit value.
diff --git a/src/structs.h b/src/structs.h
index b67f48a..e1720ce 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1257,7 +1257,6 @@
job_T *jv_prev;
#ifdef UNIX
pid_t jv_pid;
- int jv_exitval;
#endif
#ifdef WIN32
PROCESS_INFORMATION jv_proc_info;
@@ -1265,6 +1264,7 @@
#endif
jobstatus_T jv_status;
char_u *jv_stoponexit; /* allocated */
+ int jv_exitval;
char_u *jv_exit_cb; /* allocated */
int jv_refcount; /* reference count */