Created
April 20, 2016 18:19
-
-
Save jdx/f989fea7db54ee03712ba58be82c3713 to your computer and use it in GitHub Desktop.
node spawn example
This file contains hidden or 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
'use strict'; | |
let spawn = require('child_process').spawn; | |
spawn('git', ['--version'], {stdio: 'inherit'}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment