Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Using System.Diagnostics.Process inserts line breaks every 80 chars

$
0
0

Hello,

i'm using System.Diagnostics.Process to execute a command.

When i call p.StandardOutput.ReadToEnd()  i get a string with line breaks every 80 chars.

This is especially bad, because the command returns xml to stdout. Therefore i cannot parse the xml anymore. :-(

What can i do?

Thanks in advance for any reply :-)

Marco


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>