How to run system() with C#? -


i'm rewriting ruby program in c#. has lot of system() calls (like system("./program")).

is there way call in c#, or have use systemm.diagnostics.process?

system.diagnostics.process.start .net equivalent system() in ruby.

or have use systemm.diagnostics.process?

you can add using system.diagnostics; @ top of file. becomes process.start("program.exe");.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -