public class ExecCompatibleCommandLineBuilder extends Object implements CommandLineBuilder
CommandLine that is compatible with `exec()` style functions. Namely, this will
add "./" to the first argument if the first argument is an artifact so that its relative path can
be properly executed.| Constructor and Description |
|---|
ExecCompatibleCommandLineBuilder(ArtifactFilesystem filesystem) |
| Modifier and Type | Method and Description |
|---|---|
CommandLine |
build(CommandLineArgs commandLineArgs) |
public ExecCompatibleCommandLineBuilder(ArtifactFilesystem filesystem)
public CommandLine build(CommandLineArgs commandLineArgs)
build in interface CommandLineBuildercommandLineArgs - the command line args to stringify