Uses of Class
gw.util.process.ProcessRunner
Packages that use ProcessRunner
-
Uses of ProcessRunner in gw.util.process
Methods in gw.util.process that return ProcessRunnerModifier and TypeMethodDescriptionProcessRunner.exec()
Executes the given command as if it had been executed from the command line of the host OS (cmd.exe on windows, /bin/sh on *nix).Sets the text to be directed into this process' stdin.Adds an argument to the command.ProcessRunner.withCharset
(String cs) Sets the charset with which to write to this process' input and read its output.ProcessRunner.withCMD()
The process built up will used CMD.EXE if this is a windows platform.ProcessRunner.withEcho()
Sets this process' output to be displayed the parent process' stdout and stderr.ProcessRunner.withEnvironmentVariable
(String name, String value) Adds a name-value pair into this process' environment.ProcessRunner.withStdErrBuffered()
Sets this process' stdout stream to be stored in the buffer accessible bygetBuffer()
.ProcessRunner.withStdErrHandler
(OutputHandler stdErrHandler) Adds a block to handle lines output this process' stderr.ProcessRunner.withStdOutBuffered()
Sets this process' stdout stream to be stored in the buffer accessible bygetBuffer()
.ProcessRunner.withStdOutHandler
(OutputHandler stdOutHandler) Adds a block to handle lines output this process' stdout.ProcessRunner.withWorkingDirectory
(File dir) Sets this process' working directory.