المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Redirect standard output of a running process



C# Programming
05-26-2013, 03:23 PM
There are plenty of examples to get the stdoutput of a process by starting it programatically there by catching stdout of the started process, But i have hard time in getting the stdout of the process which is already running. (the situation is : There is one of my application triggers command window and as the application process some data will be printed in that command window) now using .net (winform) i need to catch that printed data.

Is there any possible solution to achieve this ? Your help/ideas will be appreciated !

Thank you.

-SSK.