1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-01-18 12:15:27 +00:00

Add missing arguments when -i and -l when starting under OSX. Thanks to sirgatez.

This commit is contained in:
Filippo Scognamiglio 2014-10-10 15:43:38 +02:00
parent 093cead312
commit 539a5ed74f

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;