diff options
author | Ken Moore <moorekou@gmail.com> | 2015-05-22 16:10:17 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-05-22 16:10:17 -0400 |
commit | e95893804552ab52f632d0352092fe067ff92d8c (patch) | |
tree | e6e4b6289103611c74d2016c50e3fb4e12276baf /libLumina/LuminaUtils.cpp | |
parent | Merge pull request #125 from pcbsd/linux (diff) | |
parent | xxx package for top is procps (diff) | |
download | lumina-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.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); |