I'm trying to start my application through the Process.Start(), this is done by returning true, but the fact is that the window does not open and there is no process in the Task Manager, no error code returns, after a while the event is an exited returns the exit code -532462766
class Program
{
static void Main(string[] args)
{
var pr = new Process();
pr.StartInfo = new ProcessStartInfo(@"Debug\Browser.exe");
pr.Exited += Pr_Exited;
var started = pr.Start();
Console.WriteLine(started.ToString());
Console.ReadKey();
}
private static void Pr_Exited(object sender, EventArgs e)
{
var exc = ((Process)sender).ExitCode;
Console.WriteLine(exc.ToString());
}
}