public class ProcessExecHelper extends AbstractSyncIProcessExecHelper
| Constructor and Description |
|---|
ProcessExecHelper(net.thevpc.nuts.NDefinition definition,
ProcessBuilder2 pb,
net.thevpc.nuts.io.NPrintStream trace,
net.thevpc.nuts.io.NExecInput in,
net.thevpc.nuts.io.NExecOutput out,
net.thevpc.nuts.io.NExecOutput err,
boolean dry) |
| Modifier and Type | Method and Description |
|---|---|
int |
exec() |
Future<Integer> |
execAsync() |
static ProcessExecHelper |
ofArgs(net.thevpc.nuts.NDefinition definition,
String[] args,
Map<String,String> env,
Path directory,
boolean showCommand,
boolean failFast,
long sleep,
net.thevpc.nuts.io.NExecInput in,
net.thevpc.nuts.io.NExecOutput out,
net.thevpc.nuts.io.NExecOutput err,
net.thevpc.nuts.NRunAs runAs,
String[] executorOptions,
boolean dry) |
static ProcessExecHelper |
ofDefinition(net.thevpc.nuts.NDefinition nutMainFile,
String[] args,
Map<String,String> env,
String directory,
boolean showCommand,
boolean failFast,
long sleep,
net.thevpc.nuts.io.NExecInput in,
net.thevpc.nuts.io.NExecOutput out,
net.thevpc.nuts.io.NExecOutput err,
net.thevpc.nuts.NRunAs runAs,
String[] executorOptions,
boolean dry,
net.thevpc.nuts.NSession session) |
public ProcessExecHelper(net.thevpc.nuts.NDefinition definition,
ProcessBuilder2 pb,
net.thevpc.nuts.io.NPrintStream trace,
net.thevpc.nuts.io.NExecInput in,
net.thevpc.nuts.io.NExecOutput out,
net.thevpc.nuts.io.NExecOutput err,
boolean dry)
public static ProcessExecHelper ofArgs(net.thevpc.nuts.NDefinition definition, String[] args, Map<String,String> env, Path directory, boolean showCommand, boolean failFast, long sleep, net.thevpc.nuts.io.NExecInput in, net.thevpc.nuts.io.NExecOutput out, net.thevpc.nuts.io.NExecOutput err, net.thevpc.nuts.NRunAs runAs, String[] executorOptions, boolean dry)
public static ProcessExecHelper ofDefinition(net.thevpc.nuts.NDefinition nutMainFile, String[] args, Map<String,String> env, String directory, boolean showCommand, boolean failFast, long sleep, net.thevpc.nuts.io.NExecInput in, net.thevpc.nuts.io.NExecOutput out, net.thevpc.nuts.io.NExecOutput err, net.thevpc.nuts.NRunAs runAs, String[] executorOptions, boolean dry, net.thevpc.nuts.NSession session) throws net.thevpc.nuts.NExecutionException
net.thevpc.nuts.NExecutionExceptionpublic int exec()
public Future<Integer> execAsync()
execAsync in interface IProcessExecHelperexecAsync in class AbstractSyncIProcessExecHelperCopyright © 2025 vpc open source initiative. All rights reserved.