Skip to content

hang due to double backslash #64

@nwtn

Description

@nwtn

My remote database dumps were hanging here:

dnewton@newtron ~/Sites/gh/great 👍  grunt db_pull --target="dev"
Running "db_pull" task

Pulling database from 'Dev DB' into Local
Creating DUMP of remote database

I traced this to deployments.js line 208, cmd = tpl_ssh + " \\ " + tpl_mysqldump;. My system was not executing the remote command after connecting. By changing the line to cmd = tpl_ssh + " '" + tpl_mysqldump + "'";, it was able to execute the remote command.

I'd do a PR, but this is obviously working fine for some people, so I'm guessing it has something to do with the version of SSH or the OS. My local machine is running OS X Yosemite, and the SSH version is "OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions