parent
7d91bc1a14
commit
42d9148737
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue