From c4e038a2ce52cbeb8bbb7b4a6bdbff90dfd3a337 Mon Sep 17 00:00:00 2001
From: Gabriel Potter <gpotter2@users.noreply.github.com>
Date: Fri, 11 Nov 2016 14:28:36 +0100
Subject: [PATCH] Modified start script (windows) (#345)

Added PAUSE when scapy crashes (to see error code), so the cmd won't
close itself
---
 run_scapy.bat | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/run_scapy.bat b/run_scapy.bat
index ba19aa5e..ef1273f7 100644
--- a/run_scapy.bat
+++ b/run_scapy.bat
@@ -1,3 +1,6 @@
 @echo off
 set PYTHONPATH=%cd% 
 python -m scapy.__init__
+if errorlevel 1 (
+   PAUSE
+)
-- 
GitLab