Skip to content

Commit

Permalink
drop shell
Browse files Browse the repository at this point in the history
  • Loading branch information
ppigazzini committed Dec 21, 2023
1 parent 6ae7a68 commit 244821c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,8 +701,8 @@ def setup_engine(
env = dict(os.environ, CXXFLAGS=cxx.strip())

with subprocess.Popen(
cmd,
shell=True,
cmd.split(),
# shell=True,
env=env,
start_new_session=False if IS_WINDOWS else True,
stdout=subprocess.PIPE,
Expand All @@ -729,9 +729,9 @@ def setup_engine(
# 'try' should be safely dropped in the future
try:
subprocess.run(
"make strip COMP={}".format(comp),
f"make strip COMP={comp}".split(),
stderr=subprocess.DEVNULL,
shell=True,
# shell=True,
check=True,
)
except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion worker/sri.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"__version": 226, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "AlzBfLw8QpQx5mQmOXedSHxcBG5v+Jw5pyW3gTeUsdDzi+23Jhf7T8gcIUGQFu0A", "games.py": "ef8FgL7dNT3ALVmuWQA/WoLu6y5khfJR5Ji2KOaLPu4oAnEJdWt8u1hLlObie47+"}
{"__version": 226, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "AlzBfLw8QpQx5mQmOXedSHxcBG5v+Jw5pyW3gTeUsdDzi+23Jhf7T8gcIUGQFu0A", "games.py": "EJY1QvST9UxPli5eyMY5cSm6g/u2mPx5xASuSVQMzOouJvTqZhhCxx9ByijWCrxe"}

0 comments on commit 244821c

Please sign in to comment.