Spawn.commandLineSync

Executes a command synchronasly and optionally calls delegates for sysout, syserr and end of job

  1. int commandLineSync(ChildWatch externalWatch, bool delegate(string) readOutput, bool delegate(string) readError)
    class Spawn
    int
    commandLineSync
    (
    ChildWatch externalWatch = null
    ,
    bool delegate
    (
    string
    )
    readOutput = null
    ,
    bool delegate
    (
    string
    )
    readError = null
    )
  2. bool commandLineSync(string commandLine, string standardOutput, string standardError, int exitStatus)