File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ export class StartCommand extends AbstractCommand {
44
44
)
45
45
. option (
46
46
'--shell' ,
47
- "Spawn child processes within a shell (see node's child_process.spawn() method docs). Default: false ." ,
48
- false ,
47
+ "Spawn child processes within a shell (see node's child_process.spawn() method docs). Default: true ." ,
48
+ true ,
49
49
)
50
50
. option ( '--no-shell' , 'Do not spawn child processes within a shell.' )
51
51
. option (
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ export class AbstractRunner {
17
17
const options : SpawnOptions = {
18
18
cwd,
19
19
stdio : collect ? 'pipe' : 'inherit' ,
20
+ shell : true ,
20
21
} ;
21
22
return new Promise < null | string > ( ( resolve , reject ) => {
22
23
const child : ChildProcess = spawn (
@@ -34,7 +35,9 @@ export class AbstractRunner {
34
35
resolve ( null ) ;
35
36
} else {
36
37
console . error (
37
- red ( MESSAGES . RUNNER_EXECUTION_ERROR ( `${ this . binary } ${ command } ` ) ) ,
38
+ red (
39
+ MESSAGES . RUNNER_EXECUTION_ERROR ( `${ this . binary } ${ command } ` ) ,
40
+ ) ,
38
41
) ;
39
42
reject ( ) ;
40
43
}
You can’t perform that action at this time.
0 commit comments