Launching an External Executable
-
am working on a project which uses pre-compiled executables (for example, makefile.exe) and I want to know if there is a way I can call this program from a C# command, something like:
Application.External.Run(string path, string args)
Application.External.Run("makefile.exe", "/build \"newfile.exe\"");
It doesn't have to be exactly like this; any way is fine. I just want to find SOME way to call another executable with some command line arguments. Help would be greatly appreciated, ~ZeldaFreak -
am working on a project which uses pre-compiled executables (for example, makefile.exe) and I want to know if there is a way I can call this program from a C# command, something like:
Application.External.Run(string path, string args)
Application.External.Run("makefile.exe", "/build \"newfile.exe\"");
It doesn't have to be exactly like this; any way is fine. I just want to find SOME way to call another executable with some command line arguments. Help would be greatly appreciated, ~ZeldaFreakCheck out the
Process
class. (Docs on MSDN[^])Process.Start("C:\\\\mypath\\myexe.exe", "myargs /moreargs");
RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome