forked from qt-creator/qt-creator
Git: Use C locale when parsing the command output
Task-number: QTCREATORBUG-19017 Change-Id: Ib77d66e22d227d43245d352905f9b095f7d0f42b Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
fa43c0d2b9
commit
5d5d0497e5
@@ -786,8 +786,10 @@ void VcsBasePlugin::setProcessEnvironment(QProcessEnvironment *e,
|
||||
bool forceCLocale,
|
||||
const QString &sshPromptBinary)
|
||||
{
|
||||
if (forceCLocale)
|
||||
if (forceCLocale) {
|
||||
e->insert("LANG", "C");
|
||||
e->insert("LANGUAGE", "C");
|
||||
}
|
||||
if (!sshPromptBinary.isEmpty())
|
||||
e->insert("SSH_ASKPASS", sshPromptBinary);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user