Hi,

I am trying to execute some command as background process (as daemon) 
using the following code:
    ChannelExec.setCommand("myCommand &");
Unfortunately the expected result is that the ChannelExec session is 
still open (channelExec.isClosed()) and my java application can not 
finish until the process is still active. When I kill the remote process 
my application is finished.

How can I start some process as daemon (in background mode)?


Regards,
Miro.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to