Skip to content

Commit

Permalink
Add shell to spawn
Browse files Browse the repository at this point in the history
  • Loading branch information
Aexylus authored and tantaman committed Dec 28, 2024
1 parent d962d01 commit fb7ca89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/zero/src/zero-cache-dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ async function main() {
log(`Running ${buildSchemaScript}.`);
schemaProcess = spawn(buildSchemaScript, buildSchemaArgs ?? [], {
stdio: 'inherit',
shell: true,
});

schemaProcess.on('exit', (code: number) => {
Expand All @@ -94,6 +95,7 @@ async function main() {
);
zeroCacheProcess = spawn(zeroCacheScript, zeroCacheArgs || [], {
stdio: 'inherit',
shell: true,
});
zeroCacheProcess.on('exit', () => {
logError(`${zeroCacheScript} exited. Exiting.`);
Expand Down

0 comments on commit fb7ca89

Please sign in to comment.