Skip to content
Snippets Groups Projects
Commit 9e7293b5 authored by Thomas Faivre's avatar Thomas Faivre Committed by Guillaume Valadon
Browse files

run_scapy: allow arguments


Signed-off-by: default avatarThomas Faivre <thomas.faivre@6wind.com>
parent 701ef0e5
No related branches found
No related tags found
No related merge requests found
...@@ -5,4 +5,4 @@ if python --version 2>&1 | grep -q '^Python 2'; then ...@@ -5,4 +5,4 @@ if python --version 2>&1 | grep -q '^Python 2'; then
else else
PYTHON=python2 PYTHON=python2
fi fi
PYTHONPATH=$DIR exec $PYTHON -m scapy.__init__ PYTHONPATH=$DIR exec $PYTHON -m scapy.__init__ $@
@echo off @echo off
set PYTHONPATH=%cd% set PYTHONPATH=%cd%
python -m scapy.__init__ python -m scapy.__init__ %*
if errorlevel 1 ( if errorlevel 1 (
PAUSE PAUSE
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment