nelhage / reptyr

Reparent a running program to a new terminal
MIT License
5.77k stars 216 forks source link

allowing to attach from a non-interactive processes #57

Open tpo opened 9 years ago

tpo commented 9 years ago

Hello, first, thanks for repytr. It helped me:

http://tpo.sourcepole.ch/#writing-into-stdin-of-an-already-running-process

Now as you can see in that blog entry above, where I had to feed "yes" into a fsck, I had to find a work around for the fact that repytr won't attach from inside of a non-interactive tty.

It would be useful however if reptyr would allow that out of the box, without needing to work around the problem with script or similar.

So that's what I would like to propose as a feature. Some switch to tell reptyr to work from a --non_interactive_shell aka --don_t_read_terminal_attributes.

Best greets!