[Mono-devel-list] Call one Exe From another

Umashankar Ashwathnarayanan umashankara at dpsl.net
Thu Jan 27 06:21:18 EST 2005


Hi
 I am running one simple Program that call another exe

Code :

    System.Diagnostics.Process proc = new System.Diagnostics.Process();
                proc.EnableRaisingEvents=false;
                proc.StartInfo.FileName="WindowTest";
                proc.StartInfo.Arguments="WindowTest.exe";
                proc.Start(); 
                proc.WaitForExit();

This is call when i press the button.
The WindowTest.exe is present in bin folder of the application,
When i Press the button ,
 it call that Speficied file/path  is not present

Can any body help me.

Kumar




More information about the Mono-devel-list mailing list