fix(agent-runtime): finish builder sessions on make exit
This commit is contained in:
@@ -353,7 +353,9 @@ def cmd_worktree_create(args: argparse.Namespace) -> int:
|
||||
|
||||
|
||||
def make_command(value: dict[str, Any]) -> str:
|
||||
return f"make -f {value.get('makefile', 'makefile.builder')} {value['target']}"
|
||||
# Replace the shell so terminal wait observes the make exit code instead
|
||||
# of waiting forever on the interactive shell after make returns.
|
||||
return f"exec make -f {value.get('makefile', 'makefile.builder')} {value['target']}"
|
||||
|
||||
|
||||
def cmd_run_start(args: argparse.Namespace) -> int:
|
||||
|
||||
Reference in New Issue
Block a user