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:
baldurk
2019-01-09 11:56:55 +00:00
parent 150e6527ad
commit d265a14a45
10 changed files with 44 additions and 38 deletions
+2 -2
View File
@@ -431,11 +431,11 @@ void CaptureDialog::vulkanLayerWarn_mouseClick()
}
RunProcessAsAdmin(cmd, QStringList() << lit("vulkanregister") << lit("--system"), this,
[this]() { ui->vulkanLayerWarn->setVisible(false); });
true, [this]() { ui->vulkanLayerWarn->setVisible(false); });
#else
RunProcessAsAdmin(qApp->applicationFilePath(),
QStringList() << lit("--install_vulkan_layer") << lit("root"), this,
[this]() { ui->vulkanLayerWarn->setVisible(false); });
false, [this]() { ui->vulkanLayerWarn->setVisible(false); });
#endif
return;
}