By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,152 Members | 2,039 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,152 IT Pros & Developers. It's quick & easy.

how to execute commands in process?

P: n/a
Hey guys.
How cam I interface with the environment in C#. I want to execute commands
in a (separate) process, just like java Runtime.exec(string command) does.

Thanks in advance,

Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
You can use the System.Diagnostics.Process class to accomplish this. There
are some detailed examples of how to use it in the MSDN. Just do a search
for "Process Class" or "System.Diagnostics.Process" and you will find it.

Good Luck.
Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.