From: Guillaume Pellerin Date: Wed, 15 Apr 2009 18:00:57 +0000 (+0000) Subject: fix undefined proc in except X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=76df376cde93a20db068016323a6fac9a1d68418;p=deefuzzer.git fix undefined proc in except --- diff --git a/deefuzz.py b/deefuzz.py index 8bf1537..ec3c710 100755 --- a/deefuzz.py +++ b/deefuzz.py @@ -336,15 +336,12 @@ class Station(Thread): command = self.command + '"' + media + '"' - try: - proc = subprocess.Popen(command, + proc = subprocess.Popen(command, shell = True, bufsize = self.buffer_size, stdin = subprocess.PIPE, stdout = subprocess.PIPE, close_fds = True) - except: - raise DeeFuzzStreamError('Command failure:', command, proc) # Core processing while True: