mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 12:10:09 +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;
|
||||
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>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user