Skip to content

Commit

Permalink
Changed subprocess to use shell=False (#3086)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter authored Aug 11, 2022
1 parent 13a429d commit fc9f3dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Buildings/Resources/src/ThermalZones/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
# Parse the arguments
args = parser.parse_args()

proc=[os.path.join(os.path.dirname(os.path.realpath(__file__)), "EnergyPlus_9_6_0", "install.py")]
proc=["python", os.path.join(os.path.dirname(os.path.realpath(__file__)), "EnergyPlus_9_6_0", "install.py")]

if args.binaries_for_os_only:
proc += ["--binaries-for-os-only"]

subprocess.run(proc, shell=True)
subprocess.run(proc, shell=False)

0 comments on commit fc9f3dc

Please sign in to comment.