diff --git a/method/shell.py b/method/shell.py index ef7cef8..226be6d 100644 --- a/method/shell.py +++ b/method/shell.py @@ -62,7 +62,8 @@ class Man(Exec): def _execute(self, w, **vargs): name = vargs['name'] cmd = 'man %r' % name - p = Popen(cmd, shell=True, stdout=PIPE, stderr=STDOUT) + #p = Popen(cmd, shell=True, stdout=PIPE, stderr=STDOUT) + p = Popen(cmd, shell=True, stdout=PIPE, stderr=PIPE) output = p.stdout.read() result = p.wait() status = os.WEXITSTATUS(result)