Reverting the disable signals change

This commit is contained in:
Brian O'Connor
2014-07-31 18:27:57 -07:00
parent 78a32e93fd
commit 628e84068e
+1 -4
View File
@@ -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