public class NExecHelper extends AbstractSyncIProcessExecHelper
| Constructor and Description |
|---|
NExecHelper(net.thevpc.nuts.command.NExec pb,
net.thevpc.nuts.io.NPrintStream out) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
asConstVarNames(Map<String,String> env) |
static Map<String,String> |
defVarMap(net.thevpc.nuts.artifact.NDefinition def,
Map<String,String> env) |
static Function<String,String> |
defVarMapper(net.thevpc.nuts.artifact.NDefinition def,
Map<String,String> env,
Function<String,String> extra) |
int |
exec() |
Future<Integer> |
execAsync() |
static NExecHelper |
ofArgs(String[] args,
Map<String,String> env,
Path directory,
boolean showCommand,
boolean failFast,
net.thevpc.nuts.time.NDuration sleep,
net.thevpc.nuts.io.NExecInput in,
net.thevpc.nuts.io.NExecOutput out,
net.thevpc.nuts.io.NExecOutput err,
net.thevpc.nuts.core.NRunAs runAs) |
static NExecHelper |
ofDefinition(net.thevpc.nuts.artifact.NDefinition def,
String[] args,
Map<String,String> env,
String directory,
boolean showCommand,
boolean failFast,
net.thevpc.nuts.time.NDuration sleep,
net.thevpc.nuts.io.NExecInput in,
net.thevpc.nuts.io.NExecOutput out,
net.thevpc.nuts.io.NExecOutput err,
net.thevpc.nuts.core.NRunAs runAs) |
public NExecHelper(net.thevpc.nuts.command.NExec pb,
net.thevpc.nuts.io.NPrintStream out)
public static NExecHelper ofArgs(String[] args, Map<String,String> env, Path directory, boolean showCommand, boolean failFast, net.thevpc.nuts.time.NDuration sleep, net.thevpc.nuts.io.NExecInput in, net.thevpc.nuts.io.NExecOutput out, net.thevpc.nuts.io.NExecOutput err, net.thevpc.nuts.core.NRunAs runAs)
public static Map<String,String> defVarMap(net.thevpc.nuts.artifact.NDefinition def, Map<String,String> env)
public static Function<String,String> defVarMapper(net.thevpc.nuts.artifact.NDefinition def, Map<String,String> env, Function<String,String> extra)
public static NExecHelper ofDefinition(net.thevpc.nuts.artifact.NDefinition def, String[] args, Map<String,String> env, String directory, boolean showCommand, boolean failFast, net.thevpc.nuts.time.NDuration sleep, net.thevpc.nuts.io.NExecInput in, net.thevpc.nuts.io.NExecOutput out, net.thevpc.nuts.io.NExecOutput err, net.thevpc.nuts.core.NRunAs runAs) throws net.thevpc.nuts.command.NExecutionException
net.thevpc.nuts.command.NExecutionExceptionpublic int exec()
public Future<Integer> execAsync()
execAsync in interface IProcessExecHelperexecAsync in class AbstractSyncIProcessExecHelperCopyright © 2026 vpc open source initiative. All rights reserved.