[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Weechat-dev] [task #10847] Provide access to STDIN of hook_process proc
From: |
John Doe |
Subject: |
[Weechat-dev] [task #10847] Provide access to STDIN of hook_process process |
Date: |
Fri, 31 Dec 2010 19:15:30 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.0; rv:2.0b8) Gecko/20100101 Firefox/4.0b8 |
URL:
<http://savannah.nongnu.org/task/?10847>
Summary: Provide access to STDIN of hook_process process
Project: WeeChat
Submitted by: mr_doe
Submitted on: Fri 31 Dec 2010 07:15:29 PM GMT
Category: scripts API plugins
Should Start On: Fri 31 Dec 2010 12:00:00 AM GMT
Should be Finished on: Fri 31 Dec 2010 12:00:00 AM GMT
Priority: 5 - Normal
Status: None
Privacy: Public
Percent Complete: 0%
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
IRC nick:
_______________________________________________________
Details:
It would be good if you could write to a process created with hook_process -
something like:
weechat_hook_process_write(process, data)
so that it's the same as if you wrote to the process's STDIN.
I was trying to make a plugin that let you run programs in a weechat window,
but without this, it isn't possible as a script. The alternative would be to
use popen but then you lose the callback, and would have to fork or use a
thread to monitor the process.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?10847>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Weechat-dev] [task #10847] Provide access to STDIN of hook_process process,
John Doe <=