diff options
| author | bwarsaw | 2001-11-21 22:18:13 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-11-21 22:18:13 +0000 |
| commit | eba2b42a02b7d95cfb43e0a2ba796a55470800bb (patch) | |
| tree | 759739c3858e843387c628f1fdc03a868e24d8f1 | |
| parent | 08d5844545385a3c40ff0413389fcbcdfac1a31a (diff) | |
| download | mailman-eba2b42a02b7d95cfb43e0a2ba796a55470800bb.tar.gz mailman-eba2b42a02b7d95cfb43e0a2ba796a55470800bb.tar.zst mailman-eba2b42a02b7d95cfb43e0a2ba796a55470800bb.zip | |
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).
| -rw-r--r-- | bin/mailmanctl | 2 |
1 files changed, 1 insertions, 1 deletions
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' |
