use child_process.stdio instead of the deprecated customFds to spawn man

This commit is contained in:
Federico Soave 2018-01-02 12:36:30 +01:00
parent 3668af8182
commit 4a2c62192a

View File

@ -20,7 +20,7 @@ function help() {
cwd: process.cwd(),
env: process.env,
setsid: false,
customFds: [0, 1, 2]
stdio: 'inherit'
};
spawn('man', [__dirname + '/../man/marked.1'], options)