`import json:lib/json.mq.md` binds file libraries; `import fmt:time.format` binds member short names (replaces `> use`). Legacy `> path.mq.md` / `> use` now hard-error with a hint. Migrates repo docs, skills, ext, lib, public, examples, man-test and tests; adds a negative gold and updates view/catalog rendering. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
205 B
Markdown
18 lines
205 B
Markdown
---
|
|
title: subtask foreign spawn
|
|
import subtask:lib/subtask.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
`py` =
|
|
```python
|
|
print(7 + 8)
|
|
```
|
|
|
|
*`id` = > subtask.spawn code=`py` *
|
|
|
|
*`out` = > subtask.wait id=`id` *
|
|
|
|
> print text=`out`
|