From c92d17b4aab9595f7606dd3509ad39b52ee780af Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Thu, 30 Oct 2014 10:19:48 -0300 Subject: job: Let job_start callers to selectively ignore stdio Passing NULL as the callback for stdout/stderr will result in job_start ignoring stdout/stderr, respectively. A 'writable' boolean argument was also added, and when false `job_start` will ignore stdin. Also, refactor os_system to allow passing NULL as the `output` argument. --- src/nvim/msgpack_rpc/channel.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/msgpack_rpc') diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c index 43bed54b2c..8d74921562 100644 --- a/src/nvim/msgpack_rpc/channel.c +++ b/src/nvim/msgpack_rpc/channel.c @@ -119,6 +119,7 @@ uint64_t channel_from_job(char **argv) int status; channel->data.job = job_start(argv, channel, + true, job_out, job_err, job_exit, -- cgit