aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaUtils.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-05-22 16:10:17 -0400
committerKen Moore <moorekou@gmail.com>2015-05-22 16:10:17 -0400
commite95893804552ab52f632d0352092fe067ff92d8c (patch)
treee6e4b6289103611c74d2016c50e3fb4e12276baf /libLumina/LuminaUtils.cpp
parentMerge pull request #125 from pcbsd/linux (diff)
parentxxx package for top is procps (diff)
downloadlumina-e95893804552ab52f632d0352092fe067ff92d8c.tar.gz
lumina-e95893804552ab52f632d0352092fe067ff92d8c.tar.bz2
lumina-e95893804552ab52f632d0352092fe067ff92d8c.zip
Merge pull request #126 from Nanolx/master
Debian updates
Diffstat (limited to 'libLumina/LuminaUtils.cpp')
-rw-r--r--libLumina/LuminaUtils.cpp4
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);
bgstack15