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
{{ message }}
Repository navigation
Codex on Windows keeps tasks “running” indefinitely when Playwright (or npm scripts) spawn child processes #3204
Thanks a lot for jumping in and linking your PR! 🙏 I just read through #3649 and it really looks like the exact root cause of the issue I reported. I’ll try it out once it gets merged, but it’s already reassuring to know this is being addressed. Really appreciate you taking the time to fix and share this!
Thanks a lot for jumping in and linking your PR! 🙏 I just read through #3649 and it really looks like the exact root cause of the issue I reported. I’ll try it out once it gets merged, but it’s already reassuring to know this is being addressed. Really appreciate you taking the time to fix and share this!
If you need it don't wait for someone to merge / fix it, codex will happily write you a workaround if you explain it the problem, that is:
"Some commands (e.g. test runners like Playwright) spawn grandchildren that inherit stdout/stderr. Those descendants may keep the inherited FDs open after the main child process exits. Our previous implementation waited for EOF on the pipes, so we could wait forever even though we already observed the child exit (or timeout), leaving Codex blocked."
It will generate a wrapper in whatever you use to call playwright that handles the stdout and stderr problem
Activity
machado2 commentedon Sep 15, 2025
I got the same problem, had codex fix itself
#3649
tm-iands commentedon Sep 16, 2025
Thanks a lot for jumping in and linking your PR! 🙏 I just read through #3649 and it really looks like the exact root cause of the issue I reported. I’ll try it out once it gets merged, but it’s already reassuring to know this is being addressed. Really appreciate you taking the time to fix and share this!
machado2 commentedon Sep 16, 2025
If you need it don't wait for someone to merge / fix it, codex will happily write you a workaround if you explain it the problem, that is:
It will generate a wrapper in whatever you use to call playwright that handles the stdout and stderr problem
Avoid hang when tool's process spawns grandchild that shares stderr/s…
Avoid hang when tool's process spawns grandchild that shares stderr/s…
etraut-openai commentedon Nov 26, 2025
This should be fixed in the most recent versions of codex.
Avoid hang when tool's process spawns grandchild that shares stderr/s…
Avoid hang when tool's process spawns grandchild that shares stderr/s…
Avoid hang when tool's process spawns grandchild that shares stderr/s…
Avoid hang when tool's process spawns grandchild that shares stderr/s…