Skip to main content
function Process.command
def Process.command(
program: str,
/
) -> std.process.Command
function Process.id
def Process.id() -> int
Return the current (aspect-cli) process’s ID. Stable for the lifetime of this AXL evaluator and unique within the host OS at any given moment, so it’s a useful per-task identifier for state files under the shared job tmpdir: each task invocation gets its own aspect-cli process and therefore its own id. Available from any ctx flavor (FeatureContext / TaskContext) — ctx.std is on both, and id() doesn’t depend on a task being in scope.