Actually use the correct environment

This commit is contained in:
Robbert van der Helm
2021-06-21 13:06:26 +02:00
parent 466fe3abcf
commit 98c4cc170e
+1 -1
View File
@@ -109,7 +109,7 @@ std::string PluginInfo::wine_version() const {
bp::ipstream output;
try {
bp::system(wine_path, "--version", bp::std_out = output);
bp::system(wine_path, "--version", bp::std_out = output, bp::env = env);
} catch (const std::system_error&) {
return "<NOT FOUND>";
}