Click here to Skip to main content
15,920,217 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Reading redirected error stream of a Process Pin
Luc Pattyn30-Mar-10 1:01
sitebuilderLuc Pattyn30-Mar-10 1:01 
GeneralRe: Reading redirected error stream of a Process Pin
PIEBALDconsult30-Mar-10 4:37
mvePIEBALDconsult30-Mar-10 4:37 
GeneralRe: Reading redirected error stream of a Process Pin
Luc Pattyn30-Mar-10 5:06
sitebuilderLuc Pattyn30-Mar-10 5:06 
GeneralRe: Reading redirected error stream of a Process [modified] Pin
PIEBALDconsult30-Mar-10 5:43
mvePIEBALDconsult30-Mar-10 5:43 
AnswerRe: Reading redirected error stream of a Process Pin
PIEBALDconsult30-Mar-10 16:42
mvePIEBALDconsult30-Mar-10 16:42 
AnswerRe: Reading redirected error stream of a Process Pin
Luc Pattyn30-Mar-10 17:49
sitebuilderLuc Pattyn30-Mar-10 17:49 
GeneralRe: Reading redirected error stream of a Process Pin
PIEBALDconsult31-Mar-10 5:11
mvePIEBALDconsult31-Mar-10 5:11 
GeneralRe: Reading redirected error stream of a Process Pin
Luc Pattyn31-Mar-10 6:00
sitebuilderLuc Pattyn31-Mar-10 6:00 
the way standard output & error work in .NET is optimized for line-oriented processing; I am guessing the slave process emits output/error data through some buffers, these get transferred occasionally (independent of newlines), the master gets hold of those buffers and searches for line terminators; for each one found it triggers a DataReceived event. AFAIK the underlying i.e. Win32 mechanism is not line-oriented. You not using NewLine means DataReceived events are useless for you, so you need either threads or async operations and collect and parse incoming data yourself.

the one point I have been making is output and error are handled basically the same (although I have a suspicion there may be more buffering at the sender side for stdout than there is for stderr).

Smile | :)

GeneralRe: Reading redirected error stream of a Process Pin
PIEBALDconsult31-Mar-10 8:16
mvePIEBALDconsult31-Mar-10 8:16 
GeneralRe: Reading redirected error stream of a Process Pin
Luc Pattyn31-Mar-10 8:32
sitebuilderLuc Pattyn31-Mar-10 8:32 
GeneralRe: Reading redirected error stream of a Process Pin
PIEBALDconsult31-Mar-10 9:17
mvePIEBALDconsult31-Mar-10 9:17 
QuestionWhat is the difference between "Excel 2007 Add-in" project and "Excel 2007 Workbook" project Pin
rahul.kulshreshtha29-Mar-10 0:18
rahul.kulshreshtha29-Mar-10 0:18 
AnswerRe: What is the difference between "Excel 2007 Add-in" project and "Excel 2007 Workbook" project Pin
Eddy Vluggen29-Mar-10 1:12
professionalEddy Vluggen29-Mar-10 1:12 
GeneralRe: What is the difference between "Excel 2007 Add-in" project and "Excel 2007 Workbook" project Pin
rahul.kulshreshtha29-Mar-10 3:39
rahul.kulshreshtha29-Mar-10 3:39 
Questionsaving path problem, please help. Pin
Farraj27-Mar-10 8:34
Farraj27-Mar-10 8:34 
AnswerRepost Pin
Not Active27-Mar-10 9:11
mentorNot Active27-Mar-10 9:11 
AnswerRe: saving path problem, please help. Pin
Anubhava Dimri30-Mar-10 19:04
Anubhava Dimri30-Mar-10 19:04 
GeneralRe: saving path problem, please help. Pin
Farraj30-Mar-10 23:47
Farraj30-Mar-10 23:47 
GeneralRe: saving path problem, please help. Pin
Anubhava Dimri31-Mar-10 0:17
Anubhava Dimri31-Mar-10 0:17 
GeneralRe: saving path problem, please help. Pin
Farraj1-Apr-10 5:17
Farraj1-Apr-10 5:17 
GeneralRe: saving path problem, please help. Pin
Anubhava Dimri1-Apr-10 18:14
Anubhava Dimri1-Apr-10 18:14 
GeneralRe: saving path problem, please help. Pin
Farraj2-Apr-10 1:47
Farraj2-Apr-10 1:47 
GeneralRe: saving path problem, please help. Pin
Anubhava Dimri2-Apr-10 2:41
Anubhava Dimri2-Apr-10 2:41 
QuestionHelp Please : How to send VB data to C++ dl Pin
Amber24526-Mar-10 19:34
Amber24526-Mar-10 19:34 
AnswerRe: Help Please : How to send VB data to C++ dl Pin
T210228-Mar-10 21:26
T210228-Mar-10 21:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.