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

$*IN.close breaks shell/run on macOS #1846

Open
lizmat opened this issue Oct 20, 2024 · 0 comments
Open

$*IN.close breaks shell/run on macOS #1846

lizmat opened this issue Oct 20, 2024 · 0 comments

Comments

@lizmat
Copy link
Contributor

lizmat commented Oct 20, 2024

Followup of rakudo/rakudo#5357

On macOS closing stdin can lead to shell and run failing in an unexpected way:

$ raku -e 'say so shell("ls", :!err, :!out)'
True
$ raku -e '$*IN.close; say so shell("ls", :!err, :!out)'
False
On linux these both show True, which is what I would expect.

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