[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to communicate with a running external process with given PID?
From: |
Pascal J. Bourguignon |
Subject: |
Re: How to communicate with a running external process with given PID? |
Date: |
Mon, 22 Jul 2013 20:18:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Rustom Mody <rustompmody@gmail.com> writes:
> On Saturday, July 20, 2013 4:21:46 PM UTC+5:30, Pascal J. Bourguignon wrote:
>> You need to read UNP.
>> http://www.unpbook.com/
>
> I believe a more modern approach may be to look at dbus
What for? Try to talk to processes created from this program with dbus:
------------------------------------------------------------------------
int main(){
close(0);close(1);close(2);
while(1)sleep(1);
return 0;}
------------------------------------------------------------------------
Duh!
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
You know you've been lisping too long when you see a recent picture of George
Lucas and think "Wait, I thought John McCarthy was dead!" -- Dalek_Baldwin
Re: How to communicate with a running external process with given PID?, Pascal J. Bourguignon, 2013/07/20
- Re: How to communicate with a running external process with given PID?, Thorsten Jolitz, 2013/07/20
- Message not available
- Re: How to communicate with a running external process with given PID?, Pascal J. Bourguignon, 2013/07/20
- Re: How to communicate with a running external process with given PID?, Thorsten Jolitz, 2013/07/22
- Re: How to communicate with a running external process with given PID?, Aurélien Aptel, 2013/07/22
- Re: How to communicate with a running external process with given PID?, Thorsten Jolitz, 2013/07/22
- Re: How to communicate with a running external process with given PID?, Aurélien Aptel, 2013/07/22
- Re: How to communicate with a running external process with given PID?, Thorsten Jolitz, 2013/07/23
Message not availableRe: How to communicate with a running external process with given PID?, Pascal J. Bourguignon, 2013/07/22