From 628e84068ed91921fd881f8627bc2983c0c2c6a2 Mon Sep 17 00:00:00 2001 From: Brian O'Connor <bocon@onlab.us> Date: Thu, 31 Jul 2014 18:27:57 -0700 Subject: [PATCH] Reverting the disable signals change --- mininet/node.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mininet/node.py b/mininet/node.py index 3950d957..d5b30362 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -329,10 +329,7 @@ def popen( self, *args, **kwargs ): # Shell requires a string, not a list! if defaults.get( 'shell', False ): cmd = ' '.join( cmd ) - old = signal.signal( signal.SIGINT, signal.SIG_IGN ) - popen = Popen( cmd, **defaults ) - signal.signal( signal.SIGINT, old ) - return popen + return Popen( cmd, **defaults ) def pexec( self, *args, **kwargs ): """Execute a command using popen -- GitLab