Skip to content

Commit

Permalink
more ci debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
wtbarnes committed Jan 5, 2024
1 parent 4b79ba0 commit 782766a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hissw/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import datetime
import os
import pathlib
import platform
import stat
import subprocess
import tempfile
Expand Down Expand Up @@ -213,10 +212,11 @@ def run(self, script, args=None, save_vars=None, raise_exceptions=True):

def _run_shell_script(self, path, raise_exceptions):
os.chmod(path, mode=stat.S_IRWXU)
on_windows = platform.system().lower() == 'windows'
# on_windows = platform.system().lower() == 'windows'
cmd_output = subprocess.run(
path.name if on_windows else f'./{path.name}',
cwd=path.parent,
# path.name if on_windows else f'./{path.name}',
# cwd=path.parent,
[str(path)],
shell=True,
capture_output=True,
text=True,
Expand Down

0 comments on commit 782766a

Please sign in to comment.