public class CmdBuilder extends CmdBuilderBase<CmdBuilder>
Cmd instances.| Constructor and Description |
|---|
CmdBuilder(File command)
Prepare command execution.
|
CmdBuilder(Path command)
Prepare command execution.
|
CmdBuilder(String command)
Prepare command execution.
|
arg, args, destroyForcibly, destroyOnError, destroyOnShutdown, directory, directory, environment, executorSupplier, getBuilder, inheritEnvironment, ping, redirectErrorStream, stderr, stderr, stderr, stdin, stdout, stdout, stdout, timeout, timeout, toCmd, toCmdSettings, withoutEnvironmentpublic CmdBuilder(String command)
command - The command to execute on the underlying OS. The given String
must be available as command on the PATH or must be absolute
or must be relative to the current working directory of the
VM.public CmdBuilder(File command)
command - The command to execute on the underlying OS. The given File
must be executable on the underlying OS. It must be absolute
or must be relative to the current working directory of the
VM.public CmdBuilder(Path command)
command - The command to execute on the underlying OS. The given File
must be executable on the underlying OS. It must be absolute
or must be relative to the current working directory of the
VM.Copyright © 2013–2019 mklinger GmbH. All rights reserved.