Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Write-Host "-pythonexe" $pythonexe
Write-Host "-tempfolder" $tempfolder

# Expand shortcut in path
$tempfolder = Resolve-Path -Path $tempfolder
$tempfolder = Resolve-Path -Path $tempfolder -Relative

Write-Host "make venv"
Start-Process $pythonexe -ArgumentList ("-m venv "+ $tempfolder+"\venv") -NoNewWindow -Wait
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
import subprocess

process = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if process.returncode != 0 and process.stderr:
if process.stderr:
raise RuntimeError(
"Installing pygltf in a virtual environment failed with error:\n"
+ f"return code = {process.returncode}\n"
Expand Down