CI / fmt + clippy + test (Linux x86_64) (push) Waiting to run
CI / runtime contract (macos-latest) (push) Waiting to run
CI / runtime contract (windows-latest) (push) Waiting to run
Linux strict security lane (G-C) / strict isolation escape matrix (push) Waiting to run
CI / schema instance validation + consumers (push) Waiting to run
ci/woodpecker/push/woodpecker Pipeline was successful
macOS arm64 aborted in nesting_depth_limit_is_enforced because the test-harness thread stack is smaller than a production main thread. Run that contract test on an explicit 8 MiB stack; the 128-level parser bound itself is unchanged. The stdlib process product test hard-coded /bin/echo, which does not exist on Windows. Use the test CLI itself as the granted program: the fixture reads MARQDO_TEST_PROCESS_PROGRAM from the granted env, runs it with --version, and the harness compares against the same invocation. process.run now forwards SYSTEMROOT/WINDIR on Windows (process creation/DLL loading, not a capability), and the bundled stdlib digest is regenerated for the changed test fixture.
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]`
|