Hi
I need ShellExecute to execute a program with admin rights (Run() doesn't work for that), but I'd also need the programs output somehow.. How can I get it?
there's no PID for StdOutRead() and also shell redirection doesn't seem to work:
ShellExecuteWait("prog.exe", "> c:\tmp\test.out 2>&1", @WorkingDir, "runas")
There's nothing written to that file (nor is it created)
Is there a way to achieve that?
Thanks
Matt