Closed ktamiola closed 8 years ago
I have tested a simple bash script with shell
, it worked.
The script:
echo 'hello'
Problem solved. It was an issue at my end. Thanks for the feedback @zensh Apparently, the npm install part of my bash script sends non-zero exit code when it stumbles upon warnings during the installation of auxiliary packages. This was causing the script to hang.
Hello there!
I am having an issue with executing a remote
bash
script. The script itself (attached below) works like a charm on the server.I have tried both
exec
andshell
withgulp-ssh
in the following gulp task,however,
gulp-ssh shell
simply hangs upon the execution:whereas
gulp-ssh exec
reports an error,Question is, what's wrong with my scripting?