Fix subtask overview pages so tables are not parsed as statements.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-12 15:37:26 +08:00
1 parent 209dc4fc5d
commit 56b9bfa5a3
2 files changed
+16 -14

No files matched your search

+8 -7
View File
@@ -6,14 +6,15 @@ description: Spawn file, function, or foreign code in parallel
# main
spawn picks one mode (others default to None):
spawn picks one mode (others default to None).
| Argument | Runs | wait returns |
|----------|------|----------------|
| path= | marqdo run child process | exit code |
| fn= + optional args= | function in a thread (entry module) | return value |
| code= | foreign fence subprocess | stdout text |
| lang= + source= | foreign source subprocess | stdout text |
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.
+8 -7
View File
@@ -6,14 +6,15 @@ description: 文件、函数或外联代码并行执行
# main
启动(spawn)四选一(其余参数默认 None):
启动(spawn)四选一(其余参数默认 None)。
| 参数 | 方式 | 等待 返回 |
|------|------|-------------|
| 路径= | marqdo run 子进程 | 退出码 |
| 函数= + 可选 参数= | 入口模块中的函数(线程) | 返回值 |
| 代码= | 外联代码块子进程 | stdout 文本 |
| 语言= + 源码= | 外联源码子进程 | stdout 文本 |
路径=:marqdo run 子进程;等待返回退出码。
函数= 加可选 参数=:入口模块中的函数(线程);等待返回返回值。
代码=:外联代码块子进程;等待返回 stdout 文本。
语言= 加 源码=:外联源码子进程;等待返回 stdout 文本。
文件子任务默认静默;静默=假 时继承父终端。另有:探测、终止、等待全部。父进程结束会终止文件/外联子进程。