|
-
Aug 15th, 2021, 09:09 PM
#2
Re: Help! I want to send process output to textbox in realtime.
You are calling ReadToEnd on your StreamReader. How exactly do you think that works? If you're going to read to the end of a stream then there has to be an end to read to, i.e. the method won't return until the stream has been closed, i.e. when the process has completed. If you want to display the output as it becomes available then you have to read it as it becomes available.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|