tags:

views:

24

answers:

1

I'm wondering, how do I get the output of an execwait command in NSIS. For example, if I run tree, how would I get the output, which would be the actual tree?

+1  A: 

You can't do that with ExecWait, you have to use one of the plugins: nsExec, ExecDos or ExecCmd

Anders
Thanks. I ended up using: nsExec::ExecToStack 'command', pop $1 (for the exit code), pop $1 (for the ouput)
noryb009