Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Suppress Windows command output when using 'ExecWait' in NSIS

Tags:

nsis

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.

like image 963
Lyman Zerga Avatar asked Jun 05 '13 12:06

Lyman Zerga


1 Answers

To avoid the black DOS box, you can use nsExec::Exec instead of Execwait.

like image 157
Francisco R Avatar answered Nov 19 '22 10:11

Francisco R