1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-26 23:55:20 +02:00

Don't log the console-based apps.

This commit is contained in:
Paul Cercueil 2012-06-14 17:39:59 +02:00
parent e5a92271a6
commit 1080527822

View File

@ -403,7 +403,13 @@ void LinkApp::launch(const string &selectedFile, const string &selectedDir) {
} // else, well.. we are no worse off :) } // else, well.. we are no worse off :)
if (params!="") command += " " + params; if (params!="") command += " " + params;
if (gmenu2x->confInt["outputLogs"]) command += " &> " + cmdclean(gmenu2x->getHome()) + "/log.txt"; #ifdef PLATFORM_DINGUX
if (gmenu2x->confInt["outputLogs"] && !consoleApp)
command += " &> " + cmdclean(gmenu2x->getHome()) + "/log.txt";
#else
if (gmenu2x->confInt["outputLogs"])
command += " &> " + cmdclean(gmenu2x->getHome()) + "/log.txt";
#endif
if (dontleave) { if (dontleave) {
system(command.c_str()); system(command.c_str());
} else { } else {