I am trying to suppress the output window which pops up after executing a psql command in NSIS
ExecWait 'psql -U postgres -f "Path\To\File.sql" postgres'
I tried '>nul' after looking at this link. But that doesn't work.
To avoid the black DOS box, you can use nsExec::Exec instead of Execwait.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With