use child_process.stdio instead of the deprecated customFds to spawn man
This commit is contained in:
parent
3668af8182
commit
4a2c62192a
@ -20,7 +20,7 @@ function help() {
|
|||||||
cwd: process.cwd(),
|
cwd: process.cwd(),
|
||||||
env: process.env,
|
env: process.env,
|
||||||
setsid: false,
|
setsid: false,
|
||||||
customFds: [0, 1, 2]
|
stdio: 'inherit'
|
||||||
};
|
};
|
||||||
|
|
||||||
spawn('man', [__dirname + '/../man/marked.1'], options)
|
spawn('man', [__dirname + '/../man/marked.1'], options)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user