public interface Executor
CommandLineDescriptor
.Modifier and Type | Method and Description |
---|---|
ExecResult |
exec(CommandLineDescriptor cmdDesc,
CmdParameters params)
Deprecated.
Since 7.4. Prefer use of
exec(CommandLineDescriptor, CmdParameters, EnvironmentDescriptor) |
ExecResult |
exec(CommandLineDescriptor cmdDesc,
CmdParameters params,
EnvironmentDescriptor env)
No exception is thrown but the returned
ExecResult contains everything about the command execution,
including an optional exception. |
@Deprecated ExecResult exec(CommandLineDescriptor cmdDesc, CmdParameters params)
exec(CommandLineDescriptor, CmdParameters, EnvironmentDescriptor)
ExecResult
contains everything about the command execution,
including an optional exception.cmdDesc
- Command to run. Cannot be null.params
- Parameters passed to the command. Cannot be null.ExecResult exec(CommandLineDescriptor cmdDesc, CmdParameters params, EnvironmentDescriptor env)
ExecResult
contains everything about the command execution,
including an optional exception.cmdDesc
- Command to run. Cannot be null.params
- Parameters passed to the command. Cannot be null.env
- Environment context (variable and working directory)Copyright © 2018 Nuxeo. All rights reserved.