get errstream when run a script in background

2011-07-15
2013-05-28
  • Hello,
       when I use jsch  run a script, I can get the error message from  getErrStream. But if I run the command with '&'.
       no any error message will be showed?
       how can I deal with this kind of issue?
       thank you very much