Skip to content
Snippets Groups Projects
Unverified Commit ec5dd80c authored by Bertrand Bellenot's avatar Bertrand Bellenot Committed by GitHub
Browse files

[ci] Avoid recursive powershell.exe (#12575)

* Avoid recursive powershell.exe

This prevent having up to 400 powershell instances when building ROOT (when calling `root-config --has-whatever`)

* Another try (thanks Ole)
parent a3241c98
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,9 @@ def subprocess_with_log(command: str, log="") -> Tuple[int, str]:
print("\033[90m", end='')
if os.name == 'nt':
command = "$env:comspec = 'cmd.exe'; " + command
result = subprocess.run(command, shell=True, check=False, stderr=subprocess.STDOUT)
print("\033[0m", end='')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment