I'm trying to use stdout_child with a run command to get back the output of an ipconfig command. However, more times than not, the last 30% of the output is lost. Here's what I'm doing:
#include-once
#include <array.au3>
#include <Constants.au3>
dim $cmdOUT, $strComputer = "sysl560"
$PID = run(@comspec & ' /k ' & "\\student2\apps$\_bin\utils\psexec.exe \\" & $strComputer & " ipconfig /all",@TempDir,"",$STDOUT_CHILD)
$cmdOUT &= StdoutRead($PID)
$rawIPC = $cmd