Revision 628e8406

View differences:

mininet/node.py
329 329
        # Shell requires a string, not a list!
330 330
        if defaults.get( 'shell', False ):
331 331
            cmd = ' '.join( cmd )
332
        old = signal.signal( signal.SIGINT, signal.SIG_IGN )
333
        popen = Popen( cmd, **defaults )
334
        signal.signal( signal.SIGINT, old )
335
        return popen
332
        return Popen( cmd, **defaults )
336 333

  
337 334
    def pexec( self, *args, **kwargs ):
338 335
        """Execute a command using popen

Also available in: Unified diff