Skip to content

Commit

Permalink
Fixes issue where rw exec exits early when running scripts that spa…
Browse files Browse the repository at this point in the history
…wn other processes (#2881)

Co-authored-by: Daniel Choudhury <dannychoudhury@gmail.com>
  • Loading branch information
viperfx and dac09 committed Jun 24, 2021
1 parent 20670b8 commit 30d506d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/cli/src/commands/exec.js
Expand Up @@ -85,9 +85,6 @@ export const handler = async (args) => {

try {
await tasks.run()

// We have to do this to terminate
process.exit(0)
} catch (e) {
console.error(c.error(`The script exited with errors.`))
process.exit(e?.exitCode || 1)
Expand Down

0 comments on commit 30d506d

Please sign in to comment.