Reference
std/process
std/process
Run other programs and exit the process.
narra
import * as Process from "std/process"
The guide teaches it in chapter 11, Files and the system.
This page is generated by scripts/std/generate.nra from narrac query --json interface std/process. Do not edit it.
Functions
cwd
narra
export function cwd(): Result<string, string> uses io, alloc
Effects: io, alloc.
exit
narra
export function exit(code: int) uses io
Effects: io.
run
narra
export function run(command: string, arguments: Array<string>): Result<#[int, string, string], string> uses io, alloc
Effects: io, alloc.