/** * Create a command line without any arguments. * * @param executable the executable */ public CommandLine(final String executable) { this.isFile=false; this.executable=toCleanExecutable(executable); }
/** * Create a command line without any arguments. * * @param executable the executable file */ public CommandLine(final File executable) { this.isFile=true; this.executable=toCleanExecutable(executable.getAbsolutePath()); }