diff options
-rw-r--r-- | libLumina/LuminaUtils.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libLumina/LuminaUtils.cpp b/libLumina/LuminaUtils.cpp index c9b13b8a..aa2336e3 100644 --- a/libLumina/LuminaUtils.cpp +++ b/libLumina/LuminaUtils.cpp @@ -43,6 +43,10 @@ int LUtils::runCmd(QString cmd, QStringList args){ QStringList LUtils::getCmdOutput(QString cmd, QStringList args){ QProcess proc; + QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); + env.insert("LANG", "C"); + env.insert("LC_MESSAGES", "C"); + proc.setProcessEnvironment(env); proc.setProcessChannelMode(QProcess::MergedChannels); if(args.isEmpty()){ proc.start(cmd); |