Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
[fixed] used cross-spawn instead of child_process in `NativeProce…
Browse files Browse the repository at this point in the history
…ss` for compatibility with the Windows operating system
  • Loading branch information
thealjey committed Feb 17, 2017
1 parent bc50d39 commit 528c86d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"cheerio": "^0.22.0",
"clean-stack": "^1.1.1",
"codemirror": "^5.23.0",
"cross-spawn": "^5.0.1",
"docdash": "^0.4.0",
"error-stack-parser": "^2.0.0",
"eslint": "^3.15.0",
Expand Down
2 changes: 1 addition & 1 deletion src/NativeProcess.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* @flow */

import type {StringOrErrorCallback} from './typedef';
import {spawn} from 'child_process';
import spawn from 'cross-spawn';
import noop from 'lodash/noop';

const errorPattern = /([^\s]*Error): (.*)[\s\S]*/;
Expand Down

0 comments on commit 528c86d

Please sign in to comment.