Documentation

Batteries.Lean.IO.Process

Running external commands. #

def IO.Process.runCmdWithInput' (cmd : String) (args : Array String) (input : optParam String "") (throwFailure : optParam Bool true) :

Pipe input into stdin of the spawned process, then return (exitCode, stdout, stdErr) upon completion.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    def IO.Process.runCmdWithInput (cmd : String) (args : Array String) (input : optParam String "") (throwFailure : optParam Bool true) :

    Pipe input into stdin of the spawned process, then return the entire content of stdout as a String upon completion.

    Equations
    Instances For