public class NExecHelper extends AbstractSyncIProcessExecHelper
| Constructor and Description |
|---|
NExecHelper(net.thevpc.nuts.NExecCmd pb,
net.thevpc.nuts.io.NPrintStream out) |
| Modifier and Type | Method and Description |
|---|---|
int |
exec() |
Future<Integer> |
execAsync() |
static NExecHelper |
ofArgs(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) |
static NExecHelper |
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) |
public NExecHelper(net.thevpc.nuts.NExecCmd pb,
net.thevpc.nuts.io.NPrintStream out)
public static NExecHelper ofArgs(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)
public static NExecHelper 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) 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.