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

Piped function alias with THREAD_SUBPROCS=False gets stuck #4443

Open
daniel-shimon opened this issue Aug 28, 2021 · 1 comment
Open

Piped function alias with THREAD_SUBPROCS=False gets stuck #4443

daniel-shimon opened this issue Aug 28, 2021 · 1 comment

Comments

@daniel-shimon
Copy link
Contributor

The following gets stuck forever:

$THREAD_SUBPROCS=False
aliases['a'] = lambda: ![echo hi]
a | grep h

This seems to happen in 0.9.27 as well (meaning $XONSH_CAPTURE_ALWAYS isn't the cause).
The problem probably comes from somewhere in ProcProxy.

@Mic92
Copy link

Mic92 commented May 29, 2022

This also happens if bashims is load:

XSH.env["THREAD_SUBPROCS"] = False

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

No branches or pull requests

3 participants