/usr/lib/python2.7/dist-packages/hupper/cli.py is in python-hupper 1.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | from __future__ import print_function
import argparse
import sys
from .reloader import start_reloader
def main():
parser = argparse.ArgumentParser()
parser.add_argument("-m", dest="module", required=True)
args, unknown_args = parser.parse_known_args()
sys.argv[1:] = unknown_args
sys.path.insert(0, "")
start_reloader(
"runpy.run_module",
worker_args=[args.module],
worker_kwargs={"alter_sys": True, "run_name": "__main__"})
|