Restore `exec` command to startservers.py.

Fixes https://github.com/letsencrypt/boulder/issues/671
This commit is contained in:
Jacob Hoffman-Andrews 2015-08-27 12:56:36 -07:00
parent 6ee8693fc1
commit fc70f00fb3
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,8 @@ def install(progs, race_detection):
def run(path, race_detection):
binary = os.path.basename(path)
cmd = """GORACE="halt_on_error=1" %s --config %s""" % (binary, config)
# Note: Must use exec here so that killing this process kills the command.
cmd = """GORACE="halt_on_error=1" exec %s --config %s""" % (binary, config)
p = subprocess.Popen(cmd, shell=True)
p.cmd = cmd
print('started %s with pid %d' % (p.cmd, p.pid))