-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to send a command while ssh_exec_wait is not finnished. #18
Comments
I don't understand what you are asking. Can you please include example R code? |
Sorry if I wasn't clear. What I want is to operate the remote data in EMR with Spark Shell. Typically, I use xshell to connect to the EMR server, after connected, the to the prompt symbol is When I used ssh package, it can connect to the server successfully.
Then I can execute the linux command successfully.
But when I execute the start command of spark shell,
it start up successfully and end with the symbol but I can not send new command to the server interactively. So, I guess it is because that the command
My question is "Can I input the scala code interactively during command |
Currently you can only run scripts, there is no way to setup an interactive shell. I'm actually surprised |
I am using the ssh coding in a remote platform. With xshll, after connected, the prompt is
[user@ip]$
, and when I input commandSCALAstart
, it will be shift to scala platform with promptscala>
, and then I can input the comman of scala code to manipulate the data. But when I used thessh_exec_wait
in Rstudio, it also can get back the output in consol withscala>
, But the function is endless, and I can not sent the comman to thescala>
line, neither the new ssh_exec_wait function, nor the console input. So can I execute command withou waiting the returns, and execute new command while the last comman is running. And an additional function is prefer to return the out or error independently.The text was updated successfully, but these errors were encountered: