The path and working directory change did not work. Thanks everyone for your input so far.
If I drop the ", $STDERR_CHILD + $STDOUT_CHILD" from the Run command the application responds to the script. I don't get text from the application since I'm not redirecting its output.
With ", $STDERR_CHILD + $STDOUT_CHILD" in the Run command the application does not respond. It's almost like I'm redirecting stdin.
Any more ideas.
$exePath = "l:lis.exe"
$exeWorkingDir = "l:"
$exeTitle = "C:\Windows\System32\cmd.exe"
dbg("at run : " & $exePath) ;dbg func - outputs text and waits for response
$pid = Run(@ComSpec & " /c " & $exePath, $exeWorkingDir, @SW_MINIMIZE, $STDERR_CHILD + $STDOUT_CHILD)
if $pid == 0 Then
audit("ERROR-Run command failed $pid: " & $pid) ; audit func - writes to audit file
Exit
EndIf