﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
637	StdoutRead function seems to now miss data on public and beta releases	fill_hard@…		"I updated to the latest Public (3.2.12.1) and found my script no longer worked. On debuging found that StdoutRead failed to return all of the data, it seems to miss the last line.

Thanks for the speedy response to my previous bug report about this problem, I have tried both solution you suggested and I'm still getting the same output as before.

  Listing C:\Documents and Settings\TestUser\
  New files added to this directory will not be encrypted.

Not

  Listing C:\Documents and Settings\TestUser\
  New files added to this directory will not be encrypted.

U My Documents

I'm I still doing it wrong ?

Here are my modified scripts.

Modified Script 1:

#include <Constants.au3>

$STDOUTData = """"
$Cipher = Run (@SystemDir & ""\cipher "" & """""""" & @MyDocumentsDir & """""""", @SystemDir, @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD)

ProcessWaitClose($Cipher)
$STDOUTDATA = StdoutRead($Cipher)

MsgBox (0, ""STDOUT Read Data:"", $STDOUTData)


Modified Script 2:

#include <Constants.au3>

$STDOUTData = """"
$Cipher = Run (@SystemDir & ""\cipher "" & """""""" & @MyDocumentsDir & """""""", @SystemDir, @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD)

While 1

  $STDOUTData &= StdoutRead ($Cipher)
  If @error Then ExitLoop
Wend

MsgBox (0, ""STDOUT Read Data:"", $STDOUTData)"	Bug	closed		AutoIt	3.2.12.1	None	No Bug		
