You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "dgü (Jira)" <ji...@apache.org> on 2022/07/03 20:22:00 UTC

[jira] [Created] (SSHD-1275) Remote process is still available after ChannelExec.close(true).awaitUninterruptibly()

dgü created SSHD-1275:
-------------------------

             Summary: Remote process is still available after ChannelExec.close(true).awaitUninterruptibly()
                 Key: SSHD-1275
                 URL: https://issues.apache.org/jira/browse/SSHD-1275
             Project: MINA SSHD
          Issue Type: Question
    Affects Versions: 2.8.0
         Environment: Java SE 8, Apache NetBeans IDE 8.2
            Reporter: dgü


Hello!

If I close channel immediately by {{{}org.apache.sshd.client.channel.ChannelExec.close(true).awaitUninterruptibly(){}}}, the remote process is not terminated and {{org.apache.sshd.client.channel.ChannelExec#getExitStatus()}} returns {{{}null{}}}.

Even if I test with _Thread.sleep(60*1000)_ after channel close, the problem still happens. The problem doesn't happen when channel is closed gracefully.

is this expected behaviour ?

 

Thanks in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org