From 9e7293b54d4e079c853423b6ff9797cec75fea81 Mon Sep 17 00:00:00 2001 From: Thomas Faivre Date: Wed, 21 Jun 2017 15:54:27 +0200 Subject: [PATCH] run_scapy: allow arguments Signed-off-by: Thomas Faivre --- run_scapy | 2 +- run_scapy.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/run_scapy b/run_scapy index 557f3243612..edffcfe2da1 100755 --- a/run_scapy +++ b/run_scapy @@ -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__ $@ diff --git a/run_scapy.bat b/run_scapy.bat index ba0774288ea..2372b798f2c 100644 --- a/run_scapy.bat +++ b/run_scapy.bat @@ -1,6 +1,6 @@ @echo off set PYTHONPATH=%cd% -python -m scapy.__init__ +python -m scapy.__init__ %* if errorlevel 1 ( PAUSE )