mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-07 04:50:34 +08:00
POSIX: Add debug output to show where the app returns
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user