CROSSWIRE / Run-CROSSWIRE.ps1
Kai9987kai's picture
Publish checked budgeted experiments from GitHub 3354331226d1
d0e78ed verified
Raw History Blame Contribute Delete
330 Bytes
param([int]$Port = 8781)
$ErrorActionPreference = 'Stop'
$taskPython = Join-Path $PSScriptRoot '.venv\Scripts\python.exe'
if (-not (Test-Path -LiteralPath $taskPython)) { $taskPython = 'python' }
Push-Location -LiteralPath $PSScriptRoot
try { & $taskPython -m crosswire serve --port $Port --open }
finally { Pop-Location }