diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2016-11-29 16:15:32 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2016-11-29 16:15:32 +0900 |
commit | c6dfe10089afcc9962c72efd8ae01f5fa2a369f6 (patch) | |
tree | 9ad3035211bfa2a86f826c354671b45ed7eef4ec | |
parent | 0319d8fdfb07f3bd23a40fd257b5e97198f6aa58 (diff) | |
download | launchpad-c6dfe10089afcc9962c72efd8ae01f5fa2a369f6.tar.gz launchpad-c6dfe10089afcc9962c72efd8ae01f5fa2a369f6.tar.bz2 launchpad-c6dfe10089afcc9962c72efd8ae01f5fa2a369f6.zip |
Adjust stdout/stderr redirectionsubmit/tizen_3.0/20161129.082400accepted/tizen/3.0/wearable/20161130.012220accepted/tizen/3.0/tv/20161130.012203accepted/tizen/3.0/mobile/20161130.012140accepted/tizen/3.0/ivi/20161130.012238accepted/tizen/3.0/common/20161130.065149
Change-Id: I26cce4cc82cb6a2f35f7e60669b51c64c039bdf4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | src/launchpad_debug.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/launchpad_debug.c b/src/launchpad_debug.c index 10afec8..0065f1f 100644 --- a/src/launchpad_debug.c +++ b/src/launchpad_debug.c @@ -266,15 +266,15 @@ void _debug_prepare_debugger(bundle *kb) if (debugger == NULL) return; + ret = __redirect_std_fds(kb); + if (ret < 0) + _E("[DEBUG] Failed to redirect standard fds"); + _D("[DEBUG] debugger: %s", debugger); debugger_info = _debugger_info_find(debugger_info_list, debugger); if (debugger_info == NULL) return; - ret = __redirect_std_fds(kb); - if (ret < 0) - _E("[DEBUG] Failed to redirect standard fds"); - list = _debugger_info_get_unlink_list(debugger_info); g_list_foreach(list, __remove_file, NULL); |