mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Change renderdoccmd to be a console program on windows.
* This means it outputs natively/properly to stdout/stderr and its output can be redirected with pipes. * It does mean we need to be very careful whenever it's run internally to not pop up a command window, which happens by default.
This commit is contained in:
@@ -252,9 +252,9 @@ void UpdateDialog::on_update_clicked()
|
||||
|
||||
QDir::setCurrent(dir.absolutePath());
|
||||
|
||||
success = RunProcessAsAdmin(dir.absoluteFilePath(cmd), QStringList()
|
||||
<< lit("upgrade") << lit("--path")
|
||||
<< appDir.absolutePath());
|
||||
success = RunProcessAsAdmin(
|
||||
dir.absoluteFilePath(cmd),
|
||||
QStringList() << lit("upgrade") << lit("--path") << appDir.absolutePath(), NULL, true);
|
||||
|
||||
exit(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user