We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am getting BAD_USE if I try to pass more than one command to execCommands. For instance, this works (in ghci):
BAD_USE
execCommands
> withSSH2 "/home/alex/.ssh/known_hosts" "/home/alex/.ssh/id_rsa.pub" "/home/alex/.ssh/id_rsa" "" "alex" "myserver" 22 $ flip execCommands ["whoami"] (0,["alex\n"])
and this doesn't:
> withSSH2 "/home/alex/.ssh/known_hosts" "/home/alex/.ssh/id_rsa.pub" "/home/alex/.ssh/id_rsa" "" "alex" "myserver" 22 $ flip execCommands ["whoami", "whoami"] *** Exception: BAD_USE
Am I doing anything wrong?
The text was updated successfully, but these errors were encountered:
Interesting. Have no idea for now. Will try to investigate.
Sorry, something went wrong.
No branches or pull requests
I am getting
BAD_USE
if I try to pass more than one command toexecCommands
. For instance, this works (in ghci):and this doesn't:
Am I doing anything wrong?
The text was updated successfully, but these errors were encountered: