http://qs1969.pair.com?node_id=662874


in reply to Re: threads hang
in thread threads hang

actually i guess snmpget has an implicit timeout as if i cant connect to a device, i get a timeout message on STDERR :-)

Replies are listed 'Best First'.
Re^3: threads hang
by zentara (Archbishop) on Jan 17, 2008 at 15:59 UTC
    Then run the backtick with `command 2>&1` and it shouldn't hang, as eventually it will get the stderr return.

    I'm not really a human, but I play one on earth. Cogito ergo sum a bum
      what you're describing (at least the way i interpret it) is a pause, not a hang.

      the issue i have is the threads hang, ie *never* finish, which AFAICT has nothing to do with error outputting.