Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion starcluster/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ def shell(self, user=None, forward_x11=False, forward_agent=False,
command = "'source /etc/profile && %s'" % command
ssh_cmd = ' '.join([ssh_cmd, command])
log.debug("ssh_cmd: %s" % ssh_cmd)
return subprocess.call(ssh_cmd, shell=True)
return subprocess.call(ssh_cmd, shell=True, executable='/bin/bash')
else:
log.debug("Using Pure-Python SSH client")
if forward_x11:
Expand Down