From 0499ddb1dd8713c20eaf5ec88fa51166d4a6e712 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Thu, 2 Jul 2015 16:52:52 -0700 Subject: [PATCH] POSIX: Add debug output to show where the app returns --- src/platforms/posix/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platforms/posix/main.cpp b/src/platforms/posix/main.cpp index 7582183111..7b2f177e93 100644 --- a/src/platforms/posix/main.cpp +++ b/src/platforms/posix/main.cpp @@ -69,6 +69,7 @@ static void run_cmd(const vector &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); }