Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the old one-liner form, and migrate lib/ext/examples/tests/docs accordingly. Co-authored-by: Cursor <cursoragent@cursor.com>
647 B
647 B
title, description, import
| title | description | import | ||
|---|---|---|---|---|
| lib/subtask — concurrent tasks | Spawn file, function, or foreign code in parallel |
|
main
spawn picks one mode (others default to None).
path= runs a marqdo run child process; wait returns the exit code.
fn= plus optional args= runs a function in a thread; wait returns the return value.
code= runs a foreign fence subprocess; wait returns stdout text.
lang= plus source= runs foreign source; wait returns stdout text.
File children are silent unless quiet=False. Also: poll id=, kill id=, wait_all. Parent exit kills file/foreign children.
print text=subtask overview ok