diff --git a/omdev/tools/cc.py b/omdev/tools/cc.py index 8d82a6d16..85b3fd601 100644 --- a/omdev/tools/cc.py +++ b/omdev/tools/cc.py @@ -28,6 +28,7 @@ class Cli(ap.Cli): @ap.cmd( + ap.arg('--cwd'), ap.arg('src-file'), ap.arg('args', nargs=ap.REMAINDER), ) @@ -88,6 +89,7 @@ def run(self) -> int: exe_file, *self.args.args, ], + cwd=self.args.cwd, check=False, )