Staging
v0.8.1
https://github.com/python/cpython
Revision a86a274b7224a5069f82c2d2cdd1f499d9c8dc22 authored by pxinwr on 28 November 2020, 22:04:50 UTC, committed by GitHub on 28 November 2020, 22:04:50 UTC


VxWorks has no user space shell provided so it can't support pipes module. Also add shell requirement for running test_pipes.
1 parent 996a1ef
Raw File
Tip revision: a86a274b7224a5069f82c2d2cdd1f499d9c8dc22 authored by pxinwr on 28 November 2020, 22:04:50 UTC
bpo-31904: add shell requirement for test_pipes (GH-23489)
Tip revision: a86a274
idle.bat
@echo off
rem start idle
rem Usage:  idle [-d]
rem -d   Run Debug build (python_d.exe).  Else release build.

setlocal
set PCBUILD=%~dp0
set exedir=%PCBUILD%\amd64
set exe=python
PATH %PATH%;..\externals\tcltk\bin

:CheckOpts
if "%1"=="-d" (set exe=%exe%_d) & shift & goto :CheckOpts
if "%1"=="-p" (call :SetExeDir %2) & shift & shift & goto :CheckOpts

set cmd=%exedir%\%exe% %PCBUILD%\..\Lib\idlelib\idle.py %1 %2 %3 %4 %5 %6 %7 %8 %9

echo on
%cmd%
exit /B %LASTERRORCODE%

:SetExeDir
if /I %1 EQU Win32 (set exedir=%PCBUILD%\win32)
if /I %1 EQU x64 (set exedir=%PCBUILD%\amd64)
if /I %1 EQU ARM (set exedir=%PCBUILD%\arm32)
if /I %1 EQU ARM64 (set exedir=%PCBUILD%\arm64)
exit /B 0
back to top