Merge pull request #597 from Mkaysi/unix.wtf

Unix: Fix ProgVal/Limnoria#256
This commit is contained in:
Valentin Lorentz 2014-04-27 13:51:05 +02:00
commit 67fd05efb5

View File

@ -245,7 +245,7 @@ class Unix(callbacks.Plugin):
with open(os.devnull, 'r+') as null: with open(os.devnull, 'r+') as null:
inst = subprocess.Popen([wtfCmd, something], inst = subprocess.Popen([wtfCmd, something],
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=null, stderr=STDOUT,
stdin=null) stdin=null)
except OSError: except OSError:
irc.error(_('It seems the configured wtf command was not ' irc.error(_('It seems the configured wtf command was not '