tmbdev / tarproc

Audit: Starting a process with a partial executable path BAN-B607
Security
Minor
4 years ago4 years old
Starting a process with a partial executable path
109@task(gendocs)
110def pubdocs(c):
111    "Generate and publish docs."
112    modified = os.popen("git status").readlines()113    for line in modified:
114        if "modified:" in line and ".md" not in line:
115            print("non-documentation file modified; commit manually", file=sys.stderr)