From 91a8bf04fc09ea03f923498745a2fc84cfe3d9cd Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Tue, 16 Oct 2018 13:19:31 +0200 Subject: [PATCH] Use shell: true when spawning tsc --- gulpfile.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gulpfile.ts b/gulpfile.ts index baae14d73f8..a8a1d9c5d1c 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -217,6 +217,7 @@ export async function unusedExports(): Promise { export function typescript(): ChildProcess { return spawn(__dirname + '/node_modules/.bin/tsc', ['-p', __dirname + '/tsconfig.dist.json', '--pretty'], { stdio: 'inherit', + shell: true, }) } @@ -226,6 +227,7 @@ export function watchTypescript(): ChildProcess { ['-p', __dirname + '/tsconfig.dist.json', '--watch', '--preserveWatchOutput', '--pretty'], { stdio: 'inherit', + shell: true, } ) }