mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-26 17:07:30 +02:00
Don't log the console-based apps.
This commit is contained in:
parent
e5a92271a6
commit
1080527822
@ -403,7 +403,13 @@ void LinkApp::launch(const string &selectedFile, const string &selectedDir) {
|
||||
} // else, well.. we are no worse off :)
|
||||
|
||||
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) {
|
||||
system(command.c_str());
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user