Catching output from unterminated shell commands

Oliver Bosse

Member
Licensed User
Longtime User
Hi all,

does anybody know how to handle output that comes from shell commands
which don't exit terminated?

Example:

ping -c 1 Google exits terminated after one ping

where

ping Google doesn't exit immediately and terminated.
It goes on writing to standard out and the phone hangs.

much more complicated but something i need would be a telnet session.

Does anybody know if this is possible and how?

oliver
 
Top