Uses of Class
nl.knaw.dans.lib.util.ProcessInputStream
Packages that use ProcessInputStream
-
Uses of ProcessInputStream in nl.knaw.dans.lib.util
Methods in nl.knaw.dans.lib.util that return ProcessInputStreamModifier and TypeMethodDescriptionstatic ProcessInputStreamProcessInputStream.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.static ProcessInputStreamProcessInputStream.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.static ProcessInputStreamProcessInputStream.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).