From 76df376cde93a20db068016323a6fac9a1d68418 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 15 Apr 2009 18:00:57 +0000 Subject: [PATCH] fix undefined proc in except --- deefuzz.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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: -- 2.39.5