mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-17 21:10:39 +02:00
Revert to launching in the shell for non-OPK apps
This commit is contained in:
parent
a7f0fef059
commit
55a6528cde
@ -620,10 +620,9 @@ void LinkApp::launch(const string &selectedFile) {
|
|||||||
NULL);
|
NULL);
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
INFO("Executing '%s' (%s %s)\n", title.c_str(), exec.c_str(), params.c_str());
|
std::string command = exec + " " + params;
|
||||||
execlp(exec.c_str(), exec.c_str(),
|
INFO("Executing '%s' (%s)\n", title.c_str(), command.c_str());
|
||||||
!params.empty() ? params.c_str() : NULL,
|
execlp("/bin/sh", "/bin/sh", "-c", command.c_str(), NULL);
|
||||||
NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//if execution continues then something went wrong and as we already called SDL_Quit we cannot continue
|
//if execution continues then something went wrong and as we already called SDL_Quit we cannot continue
|
||||||
|
Loading…
Reference in New Issue
Block a user