Esempio n. 1
0
        public Process RunProgram(string filePath, string arguments)
        {
            var startInfo = new ProcessStartInfo(filePath, arguments)
            {
                WorkingDirectory = GetWorkingDirectoryFromFilePath(filePath),
                WindowStyle      = ProcessWindowStyle.Normal,
                CreateNoWindow   = false,
                UseShellExecute  = true
            };

            return(_processLogic.StartProcess(startInfo));
        }