#include-once ;~ #include <AutoItConstants.au3> ; needed For $STDERR_CHILD & $STDOUT_CHILD Global $__g_RunWaitEx_sWorkingDir = @TempDir Global $__g_RunWaitEx_iShowFlag = @SW_HIDE Global $__g_RunWaitEx_iOptFlag = 6 ; ; "BitOR($STDERR_CHILD, $STDOUT_CHILD) = 6" Global $__g_RunWaitEx_msTimeout = 0 ; these helper functions return the set values, or sets the values if provided with one. Func _RunWaitEx_WorkingDir($val = Default) If $val