views:

17

answers:

0

Hello everyone,

I found this source code which is an application that will return a command prompt result with the given command. However, the string of the result is not being correctly outputed sometimes. You guys can try for yourself: Download Here

In the application, there is a "while" loop going on which looks at the StandardOutput.ReadLine of the process. I'm not sure if thats very accurate because the command prompt might not finish before it looks at it.

There are some major bugs that I can't even seem to fix myself after hours of struggling over it. I was wondering if you guys have any suggestions.

Thanks,

Kevin