I would like to set the working directory for the process started with job_start()
.
The only way I know how to do this is to change Vim's current working directory before calling job_start()
, and then change it back to what it was. That is a little bit of a hack, and I am afraid it could cause problems for some people. Does anyone know a better way?