What is the preferred way of getting an exit status of a command ? There
seems to be no mechanism to get notified when the exit status is
available. I saw in the JSch exmples sample code that sleeps for 1sec
and checks if channel is closed in an infinte loop but I think there
should be a better way to do this. 

 

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to