mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 10:55:06 +00:00
10 lines
328 B
PowerShell
Executable File
10 lines
328 B
PowerShell
Executable File
# Runs tt.py from the folder of this script, on Windows.
|
|
# PowerShell passes the arguments to Python as they are, without parsing them again.
|
|
$script = Join-Path $PSScriptRoot "tt.py"
|
|
if (Get-Command py -ErrorAction SilentlyContinue) {
|
|
& py -3 $script @args
|
|
} else {
|
|
& python $script @args
|
|
}
|
|
exit $LASTEXITCODE
|