From: Eric S. Raymond Date: Mon, 8 Oct 2012 16:47:33 +0000 (-0400) Subject: Looks like 1.5 seconds was enough delay. X-Git-Tag: 1.10~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0ef3c0e19651c73a4695b7615de17fedc86000ee;p=irker.git Looks like 1.5 seconds was enough delay. --- diff --git a/filter-test.py b/filter-test.py index 6298b91..030d3d4 100755 --- a/filter-test.py +++ b/filter-test.py @@ -24,9 +24,9 @@ data = ps.stdout.read() irkerd_count = len([x for x in data.split("\n") if x.find("irkerd") != -1]) if irkerd_count: - sys.stderr.write("Using a running irker instance...") + sys.stderr.write("Using a running irker instance...\n") else: - sys.stderr.write("Launching a new irker instance...") + sys.stderr.write("Launching a new irker instance...\n") os.system("gnome-terminal --title 'irkerd' -e 'irkerd -d 2' &") time.sleep(1.5) # Avoid a race condition