emeraldwalk / vscode-runonsave

Visual Studio Code extension to run commands whenever a file is saved.
Apache License 2.0
182 stars 57 forks source link

Rsync script hangs when connecting to just one host and only when exec from this extension #58

Open nine-2-five opened 3 years ago

nine-2-five commented 3 years ago

I have two variants of deploy scripts: deploy.sh and deploy.js. They both use rsync over ssh to connect and deploy small apps to hosts. The problem is that they both do when called from terminal, but if passed as a command to vscode-runonsave extension, they will both hang, and rsync task will remain indefinitely.

The same rsync script to another host works as intended when called manually or through vscode-runonsave extension. If not glitch in the Matrix, what is? :)

bmingles commented 1 month ago

@nine-2-five Any chance one of the hosts requires interaction from the user when running?

This sounds like there has to be some difference in the two hosts. I’m not sure if there’s anything I can do to diagnose the issue here, since it seems to be environment specific.