Skip to content

Commit

Permalink
fix not using aitch on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarthur committed Oct 23, 2024
1 parent 73a3b4c commit 5f0da72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ def generic_actuate(cmd, logfile, where,
# https://github.com/rust-lang/rust/issues/94743
cmd = os.path.join(M.srcdir, cmd)
if platform.system()=='Windows':
cmd = cmd.replace(os.path.sep, os.path.sep+os.path.sep)
if M.use_aitch:
cmd = cmd.replace(os.path.sep, os.path.sep+os.path.sep)
args = [x.replace('<','^^^<').replace('>','^^^>') for x in args]
with open(logfile, 'w') as fid:
fid.write(cmd+" "+' '.join(args)+'\n')
Expand Down

0 comments on commit 5f0da72

Please sign in to comment.