// There should only be one pidfile, but in case there are many, we kill them all here.
for pidfile, pid, port in info:
with open(pidfile, "r") as infile:
pidstr = infile.read()
try:
os.unlink(pidfile)
pid = int(pidstr)
os.kill(pid, signal.SIGKILL)
print("Killed server with {pid} at http://localhost:{port}".format(pid=pid, port=port),
file=sys.stderr)
except (ValueError, OSError):