I want to write a c# wrapper for a CAD (computer aided design) system. To do this, I will need to do system calls to run the CAD software, and use the CAD system API. Although I can get the environment vars I need and so forth, I am not finding any documentation on how to actually make the call. Something like :
system(allegro.exe) ;
or
`allegro.exe` ;
How do I do this in c# ?
Loading
AlanPosted Dec 4, 2008, 2:06 PM
You can use the System.Diagnostics.Process class to start another executable:
Process.Start("allegro.exe");
Here's the documentation if you need further details:
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx
Ken BarrettPosted Dec 4, 2008, 2:14 PM