7896c8bb187a552b4eb7ea3781d3f02ffba32104 jnavarr5 Tue Oct 28 09:53:46 2025 -0700 Used the wrong shebang, refs #36469 diff --git src/hg/utils/otto/genCC/doGenCC.py src/hg/utils/otto/genCC/doGenCC.py index d3c07283e09..e821f5efb02 100644 --- src/hg/utils/otto/genCC/doGenCC.py +++ src/hg/utils/otto/genCC/doGenCC.py @@ -1,15 +1,16 @@ +#!/usr/bin/env python3 #Made otto by Lou 9/14/2023 import subprocess from datetime import datetime def bash(cmd): """Run the cmd in bash subprocess""" try: rawBashOutput = subprocess.run(cmd, check=True, shell=True,\ stdout=subprocess.PIPE, universal_newlines=True, stderr=subprocess.STDOUT) bashStdoutt = rawBashOutput.stdout except subprocess.CalledProcessError as e: raise RuntimeError("command '{}' return with error (code {}): {}".format(e.cmd, e.returncode, e.output)) return(bashStdoutt)