Skip to content

Commit a6421ec

Browse files
committed
Fix unbuffered call to python3.
1 parent 91d4bb8 commit a6421ec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ci/fireci/tests/scripts.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ def with_expected_arguments_and_artifacts(args, env, *artifacts):
6161

6262

6363
_SCRIPT_WAITING_FOR_STATUS = """\
64-
#!/usr/bin/env python3 -u
64+
#!/bin/sh
65+
'''true'
66+
exec python3 -u "$0" "$@"
67+
'''
6568
import sys
6669
print(' '.join(sys.argv), file=sys.stdout)
6770
print('stderr', file=sys.stderr)

0 commit comments

Comments
 (0)