Use + for parameters, ordered-list branches, backtick identifiers, and quoted strings with escapes. Add writeback and subtask host libs, optional parameter defaults, narrative-bold comment fix, and defer view execution until preset stdin is submitted. Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
354 B
Markdown
29 lines
354 B
Markdown
---
|
|
title: lib/subtask
|
|
description: OS subprocess subtasks (parent exit kills children)
|
|
---
|
|
|
|
## spawn
|
|
+ `path`
|
|
|
|
**> host_subtask_spawn path=`path`**
|
|
|
|
## poll
|
|
+ `id`
|
|
|
|
**> host_subtask_poll id=`id`**
|
|
|
|
## wait
|
|
+ `id`
|
|
|
|
**> host_subtask_join id=`id`**
|
|
|
|
## kill
|
|
+ `id`
|
|
|
|
**> host_subtask_kill id=`id`**
|
|
|
|
## wait_all
|
|
|
|
**> host_subtask_wait_all**
|