scapy/run_scapy_py2.bat

14 lines
256 B
Batchfile
Raw Normal View History

2017-10-03 18:28:54 +00:00
@echo off
set PYTHONPATH=%cd%
set PYTHONDONTWRITEBYTECODE=True
if "%1"=="--nopause" (
set nopause="True"
python -m scapy.__init__
) else (
set nopause="False"
python -m scapy.__init__ %*
)
if %errorlevel%==1 if NOT "%nopause%"=="True" (
PAUSE
)