scapy/run_scapy_py3.bat

14 lines
259 B
Batchfile
Raw Normal View History

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