You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Of course it doesn't happen from the equivalent Dart code 😬 I'll keep looking! My money is going to be on shell we're using to spawn it not passing across the signal. This is why many of our tools advertise pids during startup... I think maybe we should do the same here.
For now, I'm going to bypass the shell for DTD - we know we don't need it. I've opened #5018 to see if we can bypass shells in other places to reduce the chance of possible leaving orphaned processes.
Activity
DanTup commentedon Feb 29, 2024
This might be something in the daemon... I can repro this with the following code:
@CoderDake FYI - I'll try to repro from Dart to eliminate NodeJS weirdness.
DanTup commentedon Feb 29, 2024
Of course it doesn't happen from the equivalent Dart code 😬 I'll keep looking! My money is going to be on shell we're using to spawn it not passing across the signal. This is why many of our tools advertise pids during startup... I think maybe we should do the same here.
DanTup commentedon Feb 29, 2024
Yep, enabling the shell on Windows triggers it from Dart too:
The PIDs being printed here are the shell, not the Dart process.
@CoderDake any objections to putting the real PID inside the initial json?
We do similar in DevTools server and other tools:
DanTup commentedon Feb 29, 2024
For now, I'm going to bypass the shell for DTD - we know we don't need it. I've opened #5018 to see if we can bypass shells in other places to reduce the chance of possible leaving orphaned processes.