Process crashes when using child_process.spawnSync(..., {stdio: ['pipe', 'overlapped', 'pipe']})
#52265
Labels
child_process
Issues and PRs related to the child_process subsystem.
confirmed-bug
Issues with confirmed bugs.
Version
v21.7.1
Platform
Linux my-laptop 6.5.0-26-generic #26-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 5 21:19:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
child_process
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
I have only tried it on Linux. Since
overlapped
is intended for Windows, the behavior might differ there.This only crashes with
spawnSync()
, notspawn()
.What is the expected behavior? Why is that the expected behavior?
This should either behave like
pipe
, or throw an error. I am not sure which behavior would be the best there.What do you see instead?
The process crashes.
Additional information
No response
The text was updated successfully, but these errors were encountered: