Bug 32917 - Process.BeginErrorReadLine only checks \n, not \r, or \r\n
Summary: Process.BeginErrorReadLine only checks \n, not \r, or \r\n
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System (show other bugs)
Version: 4.2.0 (C6)
Hardware: All All
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-08-10 11:58 UTC by Joseph Lennox
Modified: 2015-08-29 13:07 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Joseph Lennox 2015-08-10 11:58:01 UTC
According to: https://msdn.microsoft.com/en-us/library/system.diagnostics.process.beginerrorreadline(v=vs.110).aspx
It follows the same logic as: https://msdn.microsoft.com/en-us/library/system.io.streamreader.readline(v=vs.110).aspx

Which makes the statement:
A line is defined as a sequence of characters followed by a line feed ("\n"), a carriage return ("\r"), or a carriage return immediately followed by a line feed ("\r\n").

Mono's BeginErrorReadLine only treats \n as the line deliminator.

Note You need to log in before you can comment on or make changes to this bug.