summaryrefslogtreecommitdiff
path: root/src/win32ctl/pmsignal.bat
blob: 6bbcef2ad4def3d1a3557c5e13f08d462ac0e34f (plain)
1
2
3
4
5
6
7
8
9
10
@echo off
if "%OS%" == "Windows_NT" goto WinNT
%PCP_DIR%\bin\sh.exe pmsignal.sh %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofbash
:WinNT
%PCP_DIR%\bin\sh.exe pmsignal.sh %*
if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofbash
if %errorlevel% == 9009 echo You do not have sh.exe in your PCP_DIR.
if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul
:endofbash