Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

local[].popen can hang on Windows #688

Open
snowkoan opened this issue Aug 27, 2024 · 0 comments
Open

local[].popen can hang on Windows #688

snowkoan opened this issue Aug 27, 2024 · 0 comments

Comments

@snowkoan
Copy link

local.[cmd].popen is hardcoded to redirect stdout to a named pipe. This can, quite easily, hang if the child process writes enough to stdout. Two potential fixes:

  1. Fix the default behavior to match subprocess.Popen, which is to not redirect stdout.
    OR
  2. Provide a way to redirect stdout, instead of hardcoding it to use a named pipe.

I wrote an article about this behavior here: https://needleinathreadstack.wordpress.com/2024/08/26/debugging-python-for-fame-and-blog-posts/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant