Closed patrobinson closed 4 years ago
ssh.exec runs a command but doesn't wait for it to complete. That made this feature ineffective.
ssh.exec
Use ssh.exec!. Arguably ssh.exec should wait and exec! should not wait, since that's surprising, but who am I to argue with the creators of net/ssh.
ssh.exec!
exec!
ssh.exec
runs a command but doesn't wait for it to complete. That made this feature ineffective.Use
ssh.exec!
. Arguablyssh.exec
should wait andexec!
should not wait, since that's surprising, but who am I to argue with the creators of net/ssh.