POSIX: Add debug output to show where the app returns

This commit is contained in:
Lorenz Meier
2015-07-02 16:52:52 -07:00
parent 52687cb8e1
commit 0499ddb1dd
+1
View File
@@ -69,6 +69,7 @@ static void run_cmd(const vector<string> &appargs) {
arg[i] = (char *)0;
cout << "Running: " << command << "\n";
apps[command](i,(char **)arg);
cout << "Returning: " << command << "\n";
// XXX hack to prevent shell returning too fast
usleep(50000);
}