Skip to content

Commit 4a2c621

Browse files
committed
use child_process.stdio instead of the deprecated customFds to spawn man
1 parent 3668af8 commit 4a2c621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/marked

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function help() {
2020
cwd: process.cwd(),
2121
env: process.env,
2222
setsid: false,
23-
customFds: [0, 1, 2]
23+
stdio: 'inherit'
2424
};
2525

2626
spawn('man', [__dirname + '/../man/marked.1'], options)

0 commit comments

Comments
 (0)