0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

patch 8.0.0909: channel test fails

Problem:    Channel test fails.
Solution:   Allow for "cwd" and "env" arguments.
This commit is contained in:
Bram Moolenaar
2017-08-11 22:22:36 +02:00
parent 08d384ff3a
commit 8ed5400739
2 changed files with 5 additions and 2 deletions

View File

@@ -4977,7 +4977,8 @@ job_start(typval_T *argvars, jobopt_T *opt_arg)
opt.jo_mode = MODE_NL;
if (get_job_options(&argvars[1], &opt,
JO_MODE_ALL + JO_CB_ALL + JO_TIMEOUT_ALL + JO_STOPONEXIT
+ JO_EXIT_CB + JO_OUT_IO + JO_BLOCK_WRITE, 0) == FAIL)
+ JO_EXIT_CB + JO_OUT_IO + JO_BLOCK_WRITE,
JO2_ENV + JO2_CWD) == FAIL)
goto theend;
}

View File

@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
909,
/**/
908,
/**/