Skip to content

Commit 9337c7d

Browse files
committed
fix(schematics): deploy - give child processes proper access to env vars (angular#3098)
1 parent 89fd6e9 commit 9337c7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/schematics/deploy/actions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const spawnAsync = async (
3131
) =>
3232
new Promise<Buffer>((resolve, reject) => {
3333
const [spawnCommand, ...args] = command.split(/\s+/);
34+
options = { ...(options || {}), shell: true };
3435
const spawnProcess = spawn(spawnCommand, args, options);
3536
const chunks: Buffer[] = [];
3637
const errorChunks: Buffer[] = [];

0 commit comments

Comments
 (0)