Datasets:
Download windows/rajitharanasinghe-automatic_thresholding/reference/launch.ps1 from Qwen/RecreationBench: direct link, hf CLI and curl.
- Browser
- Download file 700 Bytes
-
https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/windows/rajitharanasinghe-automatic_thresholding/reference/launch.ps1
- Command line
-
hf download hf://datasets/Qwen/RecreationBench/windows/rajitharanasinghe-automatic_thresholding/reference/launch.ps1
-
curl -L -o launch.ps1 https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/windows/rajitharanasinghe-automatic_thresholding/reference/launch.ps1
700 Bytes
| <# | |
| launch.ps1 - Starts the Automatic Thresholding GUI application. | |
| Outputs ONLY the numeric process id (PID) as the first line of stdout so | |
| the test harness can capture and manage the process. Works standalone | |
| (does not require build.ps1 to have been run in the same session), as long | |
| as the executable exists at the path below. | |
| #> | |
| $ErrorActionPreference = 'Stop' | |
| $exePath = (Join-Path (Split-Path $PSScriptRoot -Parent) 'install\AutomaticThresholding.exe') | |
| # Run from the install directory so any relative paths resolve predictably. | |
| $workDir = Split-Path -Parent $exePath | |
| $proc = Start-Process -FilePath $exePath -WorkingDirectory $workDir -PassThru | |
| Write-Output $proc.Id | |