Error output not captured by RunProgram

Just starting out? Need help? Post your questions and find answers here.
BarryG
Addict
Addict
Posts: 3320
Joined: Thu Apr 18, 2019 8:17 am

Error output not captured by RunProgram

Post by BarryG »

See this post for details -> viewtopic.php?f=13&t=75097

Summary: ReadProgramError() isn't getting any error text, but JHPJHP's longer dedicated code can get it.

Tested with PureBasic 5.72 (32-bit) on 64-bit Windows. PAexec source -> https://www.poweradmin.com/paexec/
Fred
Administrator
Administrator
Posts: 16680
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Error output not captured by RunProgram

Post by Fred »

PaExec doesn't seems to use regular stdin/stdout probably because it deosn't want to mess with the launching executable.
Post Reply