/** * Clear out the arguments and stored command output, but leave the executable in place for * another operation. */ public void clearArgs() { currentProcess = null; stdOutGobbler = null; stdErrGobbler = null; super.clearArgs(); }
/** Clear out the whole command line. */ public void clear() { super.clear(); clearArgs(); }