Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图抑制在 NSIS 中执行 psql 命令后弹出的输出窗口
ExecWait 'psql -U postgres -f "Path\To\File.sql" postgres'
查看此链接后,我尝试了“> nul” 。但这不起作用。
为避免出现黑色 DOS 框,您可以使用nsExec::Exec而不是 Execwait。