ezhaka opened a new issue, #659:
URL: https://github.com/apache/mina-sshd/issues/659

   ### Version
   
   2.14.0
   
   ### Bug description
   
   I'm trying to pass additional connection-level environment variables when 
executing a command, however, this code
   
   ```kotlin
   createExecChannel("echo foo:\$FOO", null, mapOf("FOO" to "BAR"))
   ```
   
   prints `foo:`
   
   I tried putting breakpoint to mina code and I see, that it indeed writes 
this env var to the session, but it's still ignored in the command for some 
reason. 
   
   Could you please help me figure out what is wrong here?
   
   ### Actual behavior
   
   Env variable is not visible to the command
   
   ### Expected behavior
   
   I would've expected that env variable is visible for the command and it 
prints `foo:BAR`
   
   ### Relevant log output
   
   ```Shell
   
   ```
   
   ### Other information
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to