Skip to content
Snippets Groups Projects
Commit 4c260516 authored by Kagami Sascha Rosylight's avatar Kagami Sascha Rosylight
Browse files

Bug 1761633 - Silence the possible error from Get-Command r=mhentges DONTBUILD

parent c2f75198
No related branches found
No related tags found
No related merge requests found
$mypath = $MyInvocation.MyCommand.Path
$machpath = $mypath.substring(0, $mypath.length - 4)
if (Get-Command py) {
if (Get-Command py -ErrorAction SilentlyContinue) {
$python_executable = "py"
} else {
$python_executable = "python"
......
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