fix cwd on windows

This commit is contained in:
Ondrej Samohel 2021-02-02 17:58:57 +01:00
parent 1e0fb81314
commit 1117294b33
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
6 changed files with 20 additions and 4 deletions

View file

@ -13,5 +13,6 @@ PS> .\run_settings.ps1
$script_dir = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
$pype_root = (Get-Item $script_dir).parent.FullName
Set-Location -Path $pype_root
& poetry run python "$($pype_root)\start.py" settings --dev
Set-Location -Path $current_dir