Skip to content

Commit 530af71

Browse files
committed
Pass executable path and current working directory as absolute paths
1 parent 1a65ce6 commit 530af71

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

runner/testsuite/openspace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@ def run_single_test(test_path, executable) -> TestResult:
128128
print(" Starting OpenSpace")
129129
process = subprocess.Popen(
130130
[
131-
executable,
131+
os.path.abspath(executable),
132132
"--config", f"{os.getcwd()}/1920-1080.json",
133133
"--profile", test.profile,
134134
"--bypassLauncher"
135135
],
136-
cwd=os.path.dirname(executable),
136+
cwd=os.path.dirname(os.path.abspath(executable)),
137137
stdout=subprocess.DEVNULL,
138138
stderr=subprocess.PIPE
139139
)

0 commit comments

Comments
 (0)