Expand description
Explicit, in-process background jobs for ctx_shell.
The MCP request may complete immediately, but the child keeps the exact timeout, allow-list, path-jail and process-group policy of foreground shell execution. Jobs intentionally live in the daemon: restarting it invalidates outstanding jobs rather than silently orphaning subprocesses.
Enums§
- Foreground
Result - Outcome of a foreground run that is allowed to detach on a soft cap.
- JobState
Functions§
- cancel
- run_
foreground_ or_ detach - Run
commandas a managed background job but block up tosoft_capwaiting for it to finish, so fast commands still return their output inline. - start
- status