From eba2b42a02b7d95cfb43e0a2ba796a55470800bb Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Wed, 21 Nov 2001 22:18:13 +0000 Subject: start_runner(): Pass the -s flag to the qrunner script, which tells it to run as a mailmanctl subproc (subtly, but usefully changing it's exit semantics). --- bin/mailmanctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mailmanctl b/bin/mailmanctl index 158c2a5a3..e41f75aa0 100644 --- a/bin/mailmanctl +++ b/bin/mailmanctl @@ -241,7 +241,7 @@ def start_runner(qrname, slice, count): rswitch = '--runner=%s:%d:%d' % (qrname, slice, count) # BAW: should argv[0] be `python'? exe = os.path.join(mm_cfg.BIN_DIR, 'qrunner') - os.execl(mm_cfg.PYTHON, 'qrunner', exe, rswitch) + os.execl(mm_cfg.PYTHON, 'qrunner', exe, rswitch, '-s') # Should never get here raise RuntimeError, 'os.execl() failed' -- cgit v1.3.1