|Constructor and Description|
|Modifier and Type||Method and Description|
Primarily invoked from
Launches a specified process and connects its input/output to a
decorateByEnv, decorateByPrefix, decorateFor, getChannel, getComputer, getListener, isUnix, launch, launch, launch, launch, launch, launch, launch, launch, launch, launch, launch, launch, launch, maskedPrintCommandLine, maskedPrintCommandLine, printCommandLine
public Launcher.DummyLauncher(TaskListener listener)
public Proc launch(Launcher.ProcStarter starter) throws IOException
Launcher.ProcStarter.start()to start a process with a specific launcher.
public hudson.remoting.Channel launchChannel(String cmd, OutputStream out, FilePath workDir, Map<String,String> envVars) throws IOException, InterruptedException
Channel, then return it.
When the returned channel is terminated, the process will be killed.
out- Where the stderr from the launched process will be sent.
workDir- The working directory of the new process, or null to inherit from the current process
envVars- Environment variable overrides. In addition to what the current process is inherited (if this is going to be launched from an agent, that becomes the "current" process), these variables will be also set.
Copyright © 2004–2017. All rights reserved.