Move the official stdlib system modules to their unique source authority without changing public std: paths or host authorization. Carry the pre-migration product assertions into component cases captured from the baseline Bundle; the process case resolves the granted program and expected stdout from the verified CLI. Refs cflmy/marqdo#9, cflmy/marqdo-std-system#1
16 lines
283 B
Markdown
16 lines
283 B
Markdown
---
|
|
import:
|
|
env: "std:env"
|
|
process: "std:process"
|
|
---
|
|
|
|
# @exec process
|
|
|
|
## main
|
|
|
|
**程序 = env.读取("MARQDO_TEST_PROCESS_PROGRAM")**
|
|
|
|
**结果 = process.运行(程序.value, ["--version"])**
|
|
|
|
`return [结果.ok, 结果.value.status, 结果.value.stdout, 结果.value.stderr]`
|