+-----------------------------+---------------------------------+---------------------------------+ | Method to read from process | does script hang when reading | Realtime process stdout teeing | | | from sshuttle -D is done ? | ( dumping to console ) | +-----------------------------+---------------------------------+---------------------------------+ open( "$cmd | ") yes yes IPC::open3 yes yes Capture::Tiny::capture no no Capture::Tiny::tee yes yes IPC::Cmd::run yes yes Direct run sshsulte from no yes terminal +-----------------------------+---------------------------------+---------------------------------+
Further reading probably needs to be taken around function waitpid or parent -> demonized processes interaction or something like that. But unfortunately I am not a specialist in this field. So any help would be appreciated.
In reply to Re: Capture::Tiny alternative
by melezhik
in thread Capture::Tiny alternative
by melezhik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |