Uses of Class
nl.knaw.dans.lib.util.ProcessInputStream

Packages that use ProcessInputStream
Package
Description
 
  • Uses of ProcessInputStream in nl.knaw.dans.lib.util

    Modifier and Type
    Method
    Description
    ProcessInputStream.start(org.apache.commons.exec.CommandLine commandLine)
    Starts the given command and returns an InputStream that: streams the process stdout; throws an IOException if the process exits non-zero or fails to start.
    ProcessInputStream.start(org.apache.commons.exec.CommandLine commandLine, int... successExitCodes)
    Starts the given command and returns an InputStream that: streams the process stdout; throws an IOException if the process exits non-zero or fails to start.
    ProcessInputStream.start(org.apache.commons.exec.CommandLine commandLine, File workingDirectory, Duration timeout, int... successExitCodes)
    Starts the given command with an optional working directory and timeout, returning an InputStream that: streams the process stdout; and treats the provided exit codes as success (all others trigger IOException).