branch | stable |
changeset 1128 | 7f09e7ac63a7 |
parent 1127 | 79d7aa832cf4 |
child 1329 | 10d0d9d5c0f0 |
--- a/tests/killdaemons.py Sun Aug 19 18:06:15 2012 +0200 +++ b/tests/killdaemons.py Mon Aug 20 22:36:51 2012 +0200 @@ -1,6 +1,6 @@ #!/usr/bin/env python -import os, time, errno, signal +import os, sys, time, errno, signal if os.name =='nt': import ctypes @@ -49,5 +49,6 @@ pass if __name__ == '__main__': - killdaemons(os.environ['DAEMON_PIDS']) + path, = sys.argv[1:] + killdaemons(path)