on Aug 10th, 2017, 3:22pm, mmiscool wrote:| The run statement provides no feed back from the program that was ran. |
|
Nor does the 'system' API you listed! The "feedback" comes from redirecting stdout to a file, and then reading that file. You can do that using the RUN command, for example:
Code: run "dir > %temp%\stdout.txt", wait
In any case, in Linux (which is the OS we are discussing), the RUN command internally uses the 'system' API so it would work exactly the same as your code.
Richard.