Created
November 5, 2017 06:05
-
-
Save zzarcon/9ee32e36b9589237cfcef1e36b04ae33 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const subprocess = exec(command); | |
subprocess.stdout.pipe(process.stdout); | |
subprocess.stderr.pipe(process.stdout); | |
subprocess.on('exit', code => process.exit(code)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment