Skip to content

Commit

Permalink
some buffering fix attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
rohinb2 committed Sep 11, 2024
1 parent 53f8776 commit 66b6233
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runhouse/resources/hardware/sky_command_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ def run(
if self.use_docker_exec: # RH MODIFIED
cmd = " ".join(cmd) if isinstance(cmd, list) else cmd
cmd = f"sudo docker exec {DEFAULT_DOCKER_CONTAINER_NAME} bash -c {shlex.quote(cmd)}"
elif self.docker_user:
cmd = " ".join(cmd) if isinstance(cmd, list) else cmd
cmd = f"conda deactivate && {cmd}"

command_str = self._get_command_to_run(
cmd,
Expand Down

0 comments on commit 66b6233

Please sign in to comment.