Periodically check command line output in C#

Posted by iulianchira on Stack Overflow See other posts from Stack Overflow or by iulianchira
Published on 2010-04-22T19:39:22Z Indexed on 2010/04/22 19:43 UTC
Read the original article Hit count: 247

Filed under:
|

In my C# program I call an external program from command line using a process and redirecting the standard input. After I issue the command to the external program, every 3 seconds I have to issue another command to check the status - the program will respond with InProgress or Finished. I would like some help in doing this as efficient as possible.

© Stack Overflow or respective owner

Related posts about command-line

Related posts about c#