Skip to content

Commit

Permalink
set MSYS_NO_PATHCONV through python script
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Feb 2, 2024
1 parent d35df8d commit 6d4d9de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pynxtools/nexus/nexus.py
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,10 @@ def process_nexus_master_file(self, parser):
)
def main(nexus_file, documentation, concept):
"""The main function to call when used as a script."""
import platform

if platform.system() == "Windows" and "Git" in os.environ["SHELL"]:
os.environ["MSYS_NO_PATHCONV"] = "1"
logging_format = "%(levelname)s: %(message)s"
stdout_handler = logging.StreamHandler(sys.stdout)
stdout_handler.setLevel(logging.DEBUG)
Expand Down

0 comments on commit 6d4d9de

Please sign in to comment.