diff --git a/src/styxdefs/runner.py b/src/styxdefs/runner.py index 39a1088..f7d1a20 100644 --- a/src/styxdefs/runner.py +++ b/src/styxdefs/runner.py @@ -21,7 +21,7 @@ def __init__(self, logger: logging.Logger, dir: pathlib.Path) -> None: def input_file(self, host_file: InputPathType) -> str: """Resolve host input files.""" - return str(host_file) + return str(pathlib.Path(host_file).absolute()) def output_file(self, local_file: str, optional: bool = False) -> OutputPathType: """Resolve local output files."""