Improveosx #154

Merged
Swordfish90 merged 3 commits from improveosx into master 2014-10-10 16:07:06 +02:00
Showing only changes of commit 539a5ed74f - Show all commits

View File

@ -307,6 +307,13 @@ void Session::run()
QString argsTmp(_arguments.join(" ").trimmed());
QStringList arguments;
arguments << exec;
#ifdef Q_OS_OSX
// Fix osx initial behavior with -i (interactive) and -l (login).
arguments.append("-i");
arguments.append("-l");
#endif
if (argsTmp.length())
arguments << _arguments;