tomaswolf commented on issue #348: URL: https://github.com/apache/mina-sshd/issues/348#issuecomment-1483843514
The documentation does not conform to the implementation. (Or vice versa.) I don't understand the implementation of ProcessShellFactory. It appears that it expects a full command-line string in the first argument, and that argument broken down into the remaining arguments. So a call like `new ProcessShellFactory("/bin/sh -i -l", "/bin/sh", "-i", "-l")` _should_ work. If you want to improve this to the first argument being the command and the remaining arguments the command arguments, feel free to provide a PR. -- 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 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