public IProcess Run(ProcessRunSpec runSpec)
        {
            var process = new ImpersonationProcess(runSpec);

            if (runSpec.ExitHandler != null)
            {
                process.Exited += runSpec.ExitHandler;
            }

            process.Start();
            return(process);
        }
        public IProcess Run(ProcessRunSpec runSpec)
        {
            var process = new ImpersonationProcess(runSpec);

            if (runSpec.ExitHandler != null)
                process.Exited += runSpec.ExitHandler;

            process.Start();
            return process;
        }