Subprocess
Types
Functions
def run (argv: {a : Array String | Array.size a ≥ 1}) : CompletedProcess
def runWithTimeout (argv: {a : Array String | Array.size a ≥ 1}) (seconds: {s : Float | s > 0.0}) : CompletedProcess
def checkRun (argv: {a : Array String | Array.size a ≥ 1}) : {p : CompletedProcess | exitCode p = 0}
def checkOutput (argv: {a : Array String | Array.size a ≥ 1}) : String
def getExitCode (p: CompletedProcess) : {n : Int | n = exitCode p}
def succeeded (p: CompletedProcess) : {b : Bool | b = (exitCode p = 0)}
def stdout (p: CompletedProcess) : String
def stderr (p: CompletedProcess) : String
def spawn (argv: {a : Array String | Array.size a ≥ 1}) : Process
def wait (p: Process) : Int
def waitFor (seconds: {s : Float | s > 0.0}) (p: Process) : Int
def terminate (p: Process) : Int
def kill (p: Process) : Int
Uninterpreted
Functions declared as def f ... = uninterpreted: only their signature is known to the verifier; they have no body.
def exitCode : (p : CompletedProcess) → Int