You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to create a wrapper program that tricks the child process into thinking it still has an interactive terminal. The example in basic.rs is almost what I need, however if the child exits on its own, select blocks and the wrapper is not able to detect it can wait on a child, and exit.
I need to have some extra input in the terminal so select resumes and waits on the child.
Wrapping echo abcd in the basic.rs reproduces this.
I can't see a way to adopt this unfortunately. Would appreciate some help here :)
The text was updated successfully, but these errors were encountered:
Hi!
I'm looking to create a wrapper program that tricks the child process into thinking it still has an interactive terminal. The example in basic.rs is almost what I need, however if the child exits on its own, select blocks and the wrapper is not able to detect it can
wait
on a child, and exit.I need to have some extra input in the terminal so select resumes and
waits
on the child.Wrapping
echo abcd
in the basic.rs reproduces this.I can't see a way to adopt this unfortunately. Would appreciate some help here :)
The text was updated successfully, but these errors were encountered: