Skip to content

Commit

Permalink
quote args passed through SSH in SSHLaunchers
Browse files Browse the repository at this point in the history
they need double-quoting for some reason, when passing through SSH.
  • Loading branch information
minrk committed Aug 9, 2012
1 parent fb439f4 commit 64fa5db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/parallel/apps/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ def _user_changed(self, name, old, new):

def find_args(self):
return self.ssh_cmd + self.ssh_args + [self.location] + \
self.program + self.program_args
list(map(pipes.quote, self.program + self.program_args))

def _send_file(self, local, remote):
"""send a single file"""
Expand Down

0 comments on commit 64fa5db

Please sign in to comment.