From 1f1a8b9c42e513e7d579414841a06a44d758769b Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 16 Sep 2005 19:32:48 +0000 Subject: [PATCH] add delay git-svn-id: http://ltt.polymtl.ca/svn@1230 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/modules/gui/tracecontrol/tracecontrol.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ltt/branches/poly/lttv/modules/gui/tracecontrol/tracecontrol.c b/ltt/branches/poly/lttv/modules/gui/tracecontrol/tracecontrol.c index 1193046d..3f6a4f3c 100644 --- a/ltt/branches/poly/lttv/modules/gui/tracecontrol/tracecontrol.c +++ b/ltt/branches/poly/lttv/modules/gui/tracecontrol/tracecontrol.c @@ -435,6 +435,7 @@ static int execute_command(const gchar *command, const gchar *username, /* Read the output from the child terminal before the prompt. If no data in * 200 ms, we stop reading to give the password */ g_info("Reading from child console..."); + sleep(1); /* make sure the child is ready */ while(1) { pollfd.fd = fdpty; pollfd.events = POLLIN|POLLPRI; -- 2.34.1