diff options
Diffstat (limited to 'test/utils/remote_execution/test_runner.py')
-rwxr-xr-x | test/utils/remote_execution/test_runner.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/utils/remote_execution/test_runner.py b/test/utils/remote_execution/test_runner.py index 948b626e..8c22c99e 100755 --- a/test/utils/remote_execution/test_runner.py +++ b/test/utils/remote_execution/test_runner.py @@ -56,9 +56,16 @@ if os.path.exists(REMOTE_INFO): print(f"Warning: removing unexpected info file {REMOTE_INFO}") os.remove(REMOTE_INFO) +PATH=subprocess.run( + ["env", "--", "sh", "-c", "echo -n $PATH"], + stdout=subprocess.PIPE, +).stdout.decode('utf-8') + remote_cmd = [ "./bin/just", "execute", + "-L", + json.dumps(["env", "PATH=" + PATH]), "--info-file", REMOTE_INFO, "--local-build-root", |