Reverting the disable signals change
This commit is contained in:
+1
-4
@@ -329,10 +329,7 @@ class Node( object ):
|
|||||||
# Shell requires a string, not a list!
|
# Shell requires a string, not a list!
|
||||||
if defaults.get( 'shell', False ):
|
if defaults.get( 'shell', False ):
|
||||||
cmd = ' '.join( cmd )
|
cmd = ' '.join( cmd )
|
||||||
old = signal.signal( signal.SIGINT, signal.SIG_IGN )
|
return Popen( cmd, **defaults )
|
||||||
popen = Popen( cmd, **defaults )
|
|
||||||
signal.signal( signal.SIGINT, old )
|
|
||||||
return popen
|
|
||||||
|
|
||||||
def pexec( self, *args, **kwargs ):
|
def pexec( self, *args, **kwargs ):
|
||||||
"""Execute a command using popen
|
"""Execute a command using popen
|
||||||
|
|||||||
Reference in New Issue
Block a user