Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Commit a82dda7

Browse files
calaverasw-yx
authored and
sw-yx
committed
Remove mention to spawn.
Signed-off-by: David Calavera <[email protected]>
1 parent 82af8d2 commit a82dda7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/openBrowser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function getBrowserEnv() {
3737

3838
function executeNodeScript(scriptPath, url) {
3939
const extraArgs = process.argv.slice(2)
40-
const child = spawn('node', [scriptPath, ...extraArgs, url], { stdio: 'inherit' })
40+
const child = execa('node', [scriptPath, ...extraArgs, url], { stdio: 'inherit' })
4141
child.on('close', code => {
4242
if (code !== 0) {
4343
console.log()

0 commit comments

Comments
 (0)