System.Diagnostics.Process.Start fails on windows server 2003
- From: "Daniel" <softwareengineer98037@xxxxxxxxx>
- Date: Wed, 12 Apr 2006 12:33:10 -0700
System.Diagnostics.Process.Start fails on windows server 2003
the process returns process.ExitCode == 0 but executing any process with
System.Diagnostics.Process.Start on windows xp works fine.
anything to do different for windows server 2003? some special permission
for the process that executes another executable with
System.Diagnostics.Process.Start ??
here is the code:
System.Diagnostics.Process process =
System.Diagnostics.Process.Start(info); // could be any executable file even
notepad.exe
process.WaitForExit();
if(process.ExitCode != 0)
{
throw new Exception("unable to execute");
}
.
- Follow-Ups:
- Re: System.Diagnostics.Process.Start fails on windows server 2003
- From: Dominick Baier [DevelopMentor]
- Re: System.Diagnostics.Process.Start fails on windows server 2003
- Prev by Date: Re: System.Diagnostics.Process.Start fails on windows server 2003
- Next by Date: Re: System.Diagnostics.Process.Start fails on windows server 2003
- Previous by thread: Why is Thread.CurrentPrincipal.Identity.Name empty?
- Next by thread: Re: System.Diagnostics.Process.Start fails on windows server 2003
- Index(es):
Relevant Pages
|