public start ( string args = null, string workingDir = null ) : void | ||
args | string | Arguments |
workingDir | string | |
return | void |
}// ----------------------------------------- /// <summary> /// Quickly create a CLI APP and return it /// </summary> static public CliApp quickStart(string filename, string args = null,Action<int> OnComplete = null) { var c = new CliApp(filename); c.onComplete = OnComplete; c.start(args); return c; }// -----------------------------------------
/// <summary> /// Will encode a WAV file to TAK /// </summary> /// <param name="input">PAth of the `.wav` file</param> /// <param name="output">If ommited, it will be created on same dir as source file</param> public bool encode(string input,string output = "") { LOG.log("[TAK] : Encoding [{0}]",input); if(string.IsNullOrEmpty(output)) { proc.start($"-e \"{input}\""); }else { proc.start($"-e \"{input}\" \"{output}\""); } return true; }// -----------------------------------------