Subprocess
Types
Functions
def run (1 argv : Array String | Array.size argv ≥ 1) : CompletedProcess
def runWithTimeout (1 argv : Array String | Array.size argv ≥ 1) (seconds : Float | seconds > 0.0) : CompletedProcess
def checkRun (1 argv : Array String | Array.size argv ≥ 1) : {p : CompletedProcess | exitCode p = 0}
def checkOutput (1 argv : Array String | Array.size argv ≥ 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 (1 argv : Array String | Array.size argv ≥ 1) : Process
def wait (1 p : Process) : Int
def waitFor (seconds : Float | seconds > 0.0) (1 p : Process) : Int
def terminate (1 p : Process) : Int
def kill (1 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