HighTechTalks DotNet Forums  

Problems with Process intercommunication :/

CSharp microsoft.public.dotnet.languages.csharp


Discuss Problems with Process intercommunication :/ in the CSharp forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Tyron Madlener
 
Posts: n/a

Default Problems with Process intercommunication :/ - 05-01-2005 , 03:40 PM






I have a console app which outputs a lot of text to stdout (~300 lines)
then wants something from stdin and the outputs some lines again.

My C# app now starts that app and redirects its in- and outputs.
I launched 2 threads to read stdout and stderr simultaneously.

The problem now is that my c# app only reads up to 229 lines of text.
Only after I send something to stdin from my console app, I get the rest
of the text (and the text that is written after reading from stdin).

Whats going on here?

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.