Automation.UI.Application.Launch C# (CSharp) Метод

Launch() публичный статический Метод

Launches the application with the specified executable.
public static Launch ( string executable ) : Application
executable string The executable to launch.
Результат Application
        public static Application Launch(string executable)
        {
            var info = new ProcessStartInfo(executable);
            var process = Process.Start(info);
            var pid = process.Id;

            return new Application(pid);
        }