diff --git a/mininet/node.py b/mininet/node.py index 3950d95..d5b3036 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -329,10 +329,7 @@ class Node( object ): # 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