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