1@echo off
2set PYTHONPATH=%cd%
3set PYTHONDONTWRITEBYTECODE=True
4if "%1"=="--nopause" (
5 set nopause="True"
6 python -m scapy.__init__
7) else (
8 set nopause="False"
9 python -m scapy.__init__ %*
10)
11if %errorlevel%==1 if NOT "%nopause%"=="True" (
12 PAUSE
13)
14