scapy/run_scapy_py2.bat

14 lines
239 B
Batchfile

@echo off
set PYTHONPATH=%~dp0
set PYTHONDONTWRITEBYTECODE=True
if "%1"=="--nopause" (
set nopause="True"
python -m scapy
) else (
set nopause="False"
python -m scapy %*
)
if %errorlevel%==1 if NOT "%nopause%"=="True" (
PAUSE
)