You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In exec options, I've added 3 handlers - out, err, exit.
The out and err handlers get called successfully, however, the exit handler that is supposed to provide concatenated result doesn't get called at all.
My code is as follows -
`
//ssh to remote machine
ssh.exec(shellCommand, {
In exec options, I've added 3 handlers -
out
,err
,exit
.The
out
anderr
handlers get called successfully, however, the exit handler that is supposed to provide concatenated result doesn't get called at all.My code is as follows -
`
//ssh to remote machine
ssh.exec(shellCommand, {
`
Please let me know if there's anything wrong with the above code, or as how to invoke the exit handler.
Regards,
Ashish Deshpande
The text was updated successfully, but these errors were encountered: