mirror of https://github.com/secdev/scapy.git
14 lines
258 B
Batchfile
14 lines
258 B
Batchfile
|
@echo off
|
||
|
set PYTHONPATH=%cd%
|
||
|
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
|
||
|
)
|