Skip to content

Commit

Permalink
ensure stdin is a tty
Browse files Browse the repository at this point in the history
  • Loading branch information
JehandadKhan committed Oct 2, 2024
1 parent 23dcab1 commit 8a6a2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/rocm/ci_build
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def dist_wheels(

cmd.extend(mounts)

if os.isatty(sys.stdout.fileno()):
if os.isatty(sys.stdout.fileno()) and os.isatty(sys.stdin.fileno()):
cmd.append("-it")

# NOTE(mrodden): bazel times out without --init, probably blocking on a zombie PID
Expand Down

0 comments on commit 8a6a2c9

Please sign in to comment.