mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Actually use the correct environment
This commit is contained in:
@@ -109,7 +109,7 @@ std::string PluginInfo::wine_version() const {
|
|||||||
|
|
||||||
bp::ipstream output;
|
bp::ipstream output;
|
||||||
try {
|
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&) {
|
} catch (const std::system_error&) {
|
||||||
return "<NOT FOUND>";
|
return "<NOT FOUND>";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user