UnityEditor.PostprocessBuildPlayer.ExecuteSystemProcess C# (CSharp) Method

ExecuteSystemProcess() static private method

static private ExecuteSystemProcess ( string command, string args, string workingdir ) : string
command string
args string
workingdir string
return string
        internal static string ExecuteSystemProcess(string command, string args, string workingdir)
        {
            ProcessStartInfo si = new ProcessStartInfo {
                FileName = command,
                Arguments = args,
                WorkingDirectory = workingdir,
                CreateNoWindow = true
            };
            Program program = new Program(si);
            program.Start();
            while (!program.WaitForExit(100))
            {
            }
            string standardOutputAsString = program.GetStandardOutputAsString();
            program.Dispose();
            return standardOutputAsString;
        }