forked from Archive/PX4-Autopilot
POSIX: Force shell to not immediately return
This commit is contained in:
parent
55f47a68b5
commit
ab550bcbbf
|
@ -69,6 +69,8 @@ static void run_cmd(const vector<string> &appargs) {
|
|||
arg[i] = (char *)0;
|
||||
cout << "Running: " << command << "\n";
|
||||
apps[command](i,(char **)arg);
|
||||
// XXX hack to prevent shell returning too fast
|
||||
usleep(250000);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue