Skip to content

Commit

Permalink
Make sure all subprocesses started
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Aug 27, 2021
1 parent e310330 commit f0b6c21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export function $(pieces, ...args) {
promise.child = child
if (promise._postrun) promise._postrun()
}
setTimeout(promise._run, 0) // Make sure all subprocesses started.
return promise
}

Expand Down

0 comments on commit f0b6c21

Please sign in to comment.