aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/Process.cpp
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-04 08:11:44 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-04 08:11:44 -0800
commitbb5450fad0b45c42433c83c2af3a20876c3d4ead (patch)
treee45dbf001770a7c5d0c2396da72dd3dad8f52e85 /src/bun.js/bindings/Process.cpp
parent5bb8c42bdbdda11f816c180d69afb8e89bf407bd (diff)
downloadbun-bb5450fad0b45c42433c83c2af3a20876c3d4ead.tar.gz
bun-bb5450fad0b45c42433c83c2af3a20876c3d4ead.tar.zst
bun-bb5450fad0b45c42433c83c2af3a20876c3d4ead.zip
[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.
Diffstat (limited to 'src/bun.js/bindings/Process.cpp')
0 files changed, 0 insertions, 0 deletions