Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Bug: fix ssh fail on non-windows (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
jafreck authored Oct 6, 2017
1 parent 8cd5e0f commit 1f73125
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aztk/clusterlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,7 @@ def ssh_in_master(
ssh_command.add_argument("\'sudo docker exec -it spark /bin/bash\'")

command = ssh_command.to_str()
ssh_command_array = command.split()

if connect:
call(ssh_command_array)
call(command, shell=True)
return '\n\t{}\n'.format(command)

0 comments on commit 1f73125

Please sign in to comment.