Skip to content
Snippets Groups Projects
Commit 628e8406 authored by Brian O'Connor's avatar Brian O'Connor
Browse files

Reverting the disable signals change

parent 78a32e93
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment