#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 = $cmdOUT MsgBox(1,"$cmdOUT=",$rawIPC)
I can run this command in a dos box without any errors:
psexec \\sysl560 ipconfig /all
and I always get the correct output. Am I using stdout_child incorrectly, or are there some hidden limitations? I tried runwait instead of run, but runwait does not yet accept the stdout_child parameter (or does it?)
Thanks





