This blog is a knowledge base...where I clip cool tricks and urls

A class than get output from cmd

clipped from www.codeproject.com

This small class provides a very simple interface for running command line applications. It traps their standard output and error streams, and returns the output as a string. It provides method overloads to either return the errors in a second string, or to throw an exception if the error stream is non-empty.

 blog it

No comments: