projects
/
irker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e980c70
)
Remove confusion-causing messages.
author
Eric S. Raymond
<esr@thyrsus.com>
Thu, 4 Oct 2012 10:24:09 +0000
(06:24 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Thu, 4 Oct 2012 10:24:09 +0000
(06:24 -0400)
filter-test.py
patch
|
blob
|
history
diff --git
a/filter-test.py
b/filter-test.py
index b5aaf77150860edc659f70cf5d3bd475cca29c46..ae91127cb920b64de19d2259780325f0c6c06072 100755
(executable)
--- a/
filter-test.py
+++ b/
filter-test.py
@@
-24,10
+24,7
@@
ps = subprocess.Popen("ps -U %s uh" % os.getenv("LOGNAME"),
data = ps.stdout.read()
irkerd_count = len([x for x in data.split("\n") if x.find("irkerd") != -1])
-if irkerd_count:
- print "Using running irkerd..."
-else:
- print "Launching new irkerd..."
+if not irkerd_count:
os.system("gnome-terminal --title 'irkerd' -e 'irkerd -d 2' &")
time.sleep(0.1) # Avoid a race condition