Available on neither
target_family=wasm nor iOS.Expand description
Running another program: the process itself, and a protocol over one.
Structs§
- Bounds
- Child
Process - Script
- What to run, and the name its log lines and threads carry.
- Sidecar
Enums§
- Capture
- What to keep of a pipe, in bytes.
- Child
Process Error - Pipe
- RunError
- Sidecar
Error - Wait
Outcome
Functions§
- run
- Runs
commandto completion and returns what it wrote, asboundsallows. - run_
with_ listener run, with stdout handed toon_stdoutas it is read. UnderCapture::FailAboveandCapture::KeepHeadthat is only the bytes within the limit; underCapture::KeepTailit is every byte. It gets nothing past aFailAbovelimit, nor after a deadline or cancel stops the child.- validate_
interpreter - Checks the interpreter the path resolves to, but keeps the configured path
to run: a virtual environment is only itself when entered through its own
bin/python3, and the canonical target is the bare interpreter.