Esempio n. 1
0
        static public string ExecuteToText(this ExternalRunner_Process item, string arguments, int max_milliseconds)
        {
            string text;

            item.TryExecuteToText(arguments, out text, max_milliseconds);
            return(text);
        }
Esempio n. 2
0
        static public bool TryExecuteToText(this ExternalRunner_Process item, string arguments, out string text, int max_milliseconds)
        {
            item.Start(arguments);

            bool to_return = item.WaitForExit();

            text = item.ReadText();

            return(to_return);
        }
Esempio n. 3
0
 static public bool Execute(this ExternalRunner_Process item)
 {
     return(item.Execute(item.GetDefaultArguments()));
 }
Esempio n. 4
0
 static public bool Execute(this ExternalRunner_Process item, IEnumerable <string> arguments)
 {
     return(item.Execute(arguments.MakeCommand()));
 }
Esempio n. 5
0
 static public bool Execute(this ExternalRunner_Process item, string arguments)
 {
     return(item.Execute(arguments, int.MaxValue));
 }
Esempio n. 6
0
 static public bool Execute(this ExternalRunner_Process item, int max_milliseconds)
 {
     return(item.Execute(item.GetDefaultArguments(), max_milliseconds));
 }
Esempio n. 7
0
 static public bool Execute(this ExternalRunner_Process item, IEnumerable <string> arguments, int max_milliseconds)
 {
     return(item.Execute(arguments.MakeCommand(), max_milliseconds));
 }
Esempio n. 8
0
 static public string ExecuteToText(this ExternalRunner_Process item)
 {
     return(item.ExecuteToText(item.GetDefaultArguments()));
 }
Esempio n. 9
0
 static public bool TryExecuteToText(this ExternalRunner_Process item, out string text, int max_milliseconds)
 {
     return(item.TryExecuteToText(item.GetDefaultArguments(), out text, max_milliseconds));
 }
Esempio n. 10
0
 static public bool TryExecuteToText(this ExternalRunner_Process item, IEnumerable <string> arguments, out string text, int max_milliseconds)
 {
     return(item.TryExecuteToText(arguments.MakeCommand(), out text, max_milliseconds));
 }