Skip to content

avoid dropping the wrapped scripts stdin#119

Open
v4hn wants to merge 1 commit intolocusrobotics:masterfrom
ros-o:fix-stdin-in-wrapped-scripts
Open

avoid dropping the wrapped scripts stdin#119
v4hn wants to merge 1 commit intolocusrobotics:masterfrom
ros-o:fix-stdin-in-wrapped-scripts

Conversation

@v4hn
Copy link
Copy Markdown

@v4hn v4hn commented Dec 10, 2025

I just wrote a short CLI prompt script that exited directly when wrapped through catkin_virtualenv. It turns out the script accidentally overwrote STDIN.
Instead I moved the internal code passing to fd=3 instead.

This way rosrun <pkg> <script> is still able to read user input from the command line (usually for prompts).

This way `rosrun <pkg> <script>` is still able to read
user input from the command line (usually for prompts).
@v4hn v4hn force-pushed the fix-stdin-in-wrapped-scripts branch from d9c0ecd to a6fe7a7 Compare January 8, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant