Skip to content

Commit

Permalink
Generate proper relative path of tool executable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Jonáš committed Apr 23, 2024
1 parent e2e1234 commit a448e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smtcomp/benchexec.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def cmdtask_for_submission(s: defs.Submission, cachedir: Path) -> List[CmdTask]:
options = [
"bash",
"-c",
f'FILE=$(realpath $1); (cd {shlex.quote(dirname)}; exec {shlex.quote(executable)} "$FILE")',
f'FILE=$(realpath $1); (cd {shlex.quote(dirname)}; exec ./{shlex.quote(executable_path.name)} "$FILE")',
"compa_starexec",
]
else:
Expand Down

0 comments on commit a448e42

Please sign in to comment.