Effect Processpub
Source:effect(pub) Process
.spawn-process ( Str → (Result AnyUInt Str) )
.wait ( AnyUInt → (Result AnyInt Str) )
.kill ( AnyUInt → (Result Unit Str) )
.run ( Str → (Result Bytes Str) )
.child-stdin-write ( Bytes AnyUInt → (Result Unit Str) )
.child-stdin-close ( AnyUInt → )
.child-stdout-read ( AnyInt AnyUInt → (Result Bytes Str) )
.child-stderr-read ( AnyInt AnyUInt → (Result Bytes Str) )
Description
Process effect — spawn, wait, kill, and pipe data through child processes. Handles are carried as AnyUInt identifiers in this placeholder decl.
Operations
.spawn-process ( Str → (Result AnyUInt Str) )
.spawn-process ( Str → (Result AnyUInt Str) )
Spawn a new child process from a program path and return its handle.
.wait ( AnyUInt → (Result AnyInt Str) )
.wait ( AnyUInt → (Result AnyInt Str) )
Wait for a child process to exit; returns the numeric exit code.