By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,183 Members | 1,190 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,183 IT Pros & Developers. It's quick & easy.

System.Diagnostics.Process.Start fails on windows server 2003

P: n/a
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");
}
Apr 12 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.