public void Exec(string script) { Tokenizer tokenizer = new Sidi.Util.Tokenizer(new StringReader(script)); string[] args = tokenizer.Tokens.ToArray(); Sidi.CommandLine.Parser.Run(this, args); }
public void ExecFile(string scriptFile) { Tokenizer tokenizer = new Sidi.Util.Tokenizer(new StreamReader(scriptFile)); string[] args = tokenizer.Tokens.ToArray(); Sidi.CommandLine.Parser.Run(this, args); }