diff --git a/bin/now b/bin/now index 9c811b6..73c1978 100755 --- a/bin/now +++ b/bin/now @@ -1,7 +1,7 @@ #!/usr/bin/env node import minimist from 'minimist'; import { resolve } from 'path'; -import { spawn } from 'child_process'; +import { spawn } from 'cross-spawn-async'; import checkUpdate from '../lib/check-update'; const argv = minimist(process.argv.slice(2)); diff --git a/package.json b/package.json index bc60cfb..a508ac3 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "bytes": "2.3.0", "chalk": "1.1.1", "copy-paste": "1.1.4", + "cross-spawn-async": "2.2.2", "fs-promise": "0.4.1", "graceful-fs": "4.1.3", "minimatch": "3.0.0",