Skip to content
Snippets Groups Projects
run_scapy_py2.bat 256 B
Newer Older
@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
)