[ https://issues.apache.org/jira/browse/SSHD-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17617150#comment-17617150 ]
dgü commented on SSHD-1300: --------------------------- OK! Thanks... On Thursday, October 13, 2022, 05:32:03 PM GMT+3, Lyor Goldstein (Jira) <j...@apache.org> wrote: [ https://issues.apache.org/jira/browse/SSHD-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17617098#comment-17617098 ] Lyor Goldstein commented on SSHD-1300: -------------------------------------- {quote} it is not possible to get environment variables without executing a separate remote command such as env on UNIX. {quote} It is also my understanding -- This message was sent by Atlassian Jira (v8.20.10#820010) > ProcessBuilder#environment() equivalent for ChannelExec > ------------------------------------------------------- > > Key: SSHD-1300 > URL: https://issues.apache.org/jira/browse/SSHD-1300 > Project: MINA SSHD > Issue Type: Question > Affects Versions: 2.9.1 > Environment: Java SE 8, Apache NetBeans IDE 8.2 > Reporter: dgü > Assignee: Lyor Goldstein > Priority: Major > > Hello! > is there an equivalent of _java.lang.ProcessBuilder#environment()_ for > _org.apache.sshd.client.channel.ChannelExec_ ? > If not, is there a workround to get environment variables of _ChannelExec_ > before executing remote command ? > Thanks in advance... -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org