Skip to content

Commit

Permalink
run_scapy: allow arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Faivre <[email protected]>
  • Loading branch information
ThomasFaivre authored and guedou committed Jun 26, 2017
1 parent 701ef0e commit 9e7293b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion run_scapy
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ if python --version 2>&1 | grep -q '^Python 2'; then
else
PYTHON=python2
fi
PYTHONPATH=$DIR exec $PYTHON -m scapy.__init__
PYTHONPATH=$DIR exec $PYTHON -m scapy.__init__ $@
2 changes: 1 addition & 1 deletion run_scapy.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@echo off
set PYTHONPATH=%cd%
python -m scapy.__init__
python -m scapy.__init__ %*
if errorlevel 1 (
PAUSE
)

0 comments on commit 9e7293b

Please sign in to comment.