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

fix(rbmk sh): use env.Stdin rather than os.Stdin #20

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Conversation

bassosimone
Copy link
Member

This change is mainly for correctness. Ensure we always use the env.Stdin rather than os.Stdin directly, to avoid surprises when we start composing and executing commands without actually spawning a new process but rather as internally running commands. The only place where we were using os.Stdin directly was the rbmk sh subcommand.

See also rbmk-project/common#14

This change is mainly for correctness. Ensure we always use
the env.Stdin rather than os.Stdin directly, to avoid surprises
when we start composing and executing commands without
actually spawning a new process but rather as internally
running commands. The only place where we were using
os.Stdin directly was the `rbmk sh` subcommand.

See also rbmk-project/common#14
@bassosimone bassosimone merged commit 63d359e into main Dec 2, 2024
1 check passed
@bassosimone bassosimone deleted the stdin branch December 2, 2024 18:38
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

Successfully merging this pull request may close these issues.

1 participant