SIGN IN SIGN UP
oven-sh / bun UNCLAIMED

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

0 0 150 Rust

[breaking] `onExit` callback in Bun.spawn sets the first property to be the Subprocess object

Sometimes Bun.spawn calls the onExit callback before the Bun.spawn() callback is called.

Instead of delaying a tick, we set the `Subprocess` to be the first argument to the `onExit` callback now.
J
Jarred Sumner committed
bb5450fad0b45c42433c83c2af3a20876c3d4ead
Parent: 5bb8c42