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# ?
Creating a wrapper for 3rd party software
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

AlanRank #669 · 3.6K reputationPosted Dec 4, 2008, 9:06 AM EST
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 Barrett81 reputationPosted Dec 4, 2008, 9:14 AM EST