in reply to Re: Connecting Perl's STDIN and STDOUT to .Net StreamReader
in thread Connecting Perl's STDIN and STDOUT to .Net StreamReader
Sorry for it not being ultimately a Perl question but thanks in any case :)int totalBytes = 0; int count; char[] buffer = new char[4096]; while ( (count = process.StandardOutput.ReadBlock(buffer, 0, buf +fer.Length)) > 0 ) { totalBytes += count; }
|
|---|