weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #39538] Some programs launched via hook_process fail


From: Sebastien Helleu
Subject: [Weechat-dev] [bug #39538] Some programs launched via hook_process fail because stdin is closed by WeeChat
Date: Sat, 20 Jul 2013 13:43:42 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?39538>

                 Summary: Some programs launched via hook_process fail because
stdin is closed by WeeChat
                 Project: WeeChat
            Submitted by: flashcode
            Submitted on: sam. 20 juil. 2013 15:43:41 CEST
                Category: plugins
                Severity: 3 - Normal
              Item Group: other
                  Status: In Progress
                 Privacy: Public
             Assigned to: flashcode
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.4.1
                IRC nick: FlashCode

    _______________________________________________________

Details:

When running a program in hook_process, the stdin is closed.
Some programs fail if the stdin is not a valid file descriptor.

Solution: use "/dev/null" for stdin stream.

Reported by izy.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?39538>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]