O Oliver Bosse Member Licensed User Longtime User Jul 16, 2011 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Jul 17, 2011 #2 Are you calling these commands with Phone.Shell ? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 17, 2011 #4 The Shell keyword is not intended for non-exiting processes. You can try using the Threading library and call it from a different thread. Upvote 0
The Shell keyword is not intended for non-exiting processes. You can try using the Threading library and call it from a different thread.