Archive: Capturing external program's output


Capturing external program's output
Hi,

I have created an NSIS installer. One of its features is an executable I extract and run (during installation) that upgrades the user's database. I do this by calling ExecWait.

Somehow, I would like to capture the output of this executable and show it in the Detail Display - preferably, during the execution.

Can I capture standard output somehow? Or is there some form of inter process communication that I can take advantage of?

Any ideas are appreciated.

Regards,

Camel


"standard output" is a feature of console applications, you can use nsExec from NSIS distribution or ExecDos plug-ins.


Thanks, that's worked a treat. I missed nsExec in the documentation...