then u need to use one of the ipcs(interprocess Communication).
Try using queues. it will solve the problem.

ta
Chetan K.

----- Original Message -----
From: "mukund" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 26, 2001 5:31 PM
Subject: Re: [LIH] process communication.


> No, I do not want to kill the process.
> I want send some sensible data to process and read back its reply. And the
> process does not have socket.
>
> -----Original Message-----
> From: Rohan Almeida <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> <[EMAIL PROTECTED]>
> Date: Friday, December 28, 2001 1:44 PM
> Subject: Re: [LIH] process communication.
>
>
> >
> >
> >Use kill
> >
> >if u're process has pid 666, then
> >
> >$ kill -s signal 666
> >
> >will send signal to process with pid 666.
> >kill -l will list signal names...
> >
> >of course, u realise that u're perl daemon should have appropriate code
to
> trap these signals!!
> >
> >--
> >arc_of_descent
> >
> >
> >
> >"mukund"<[EMAIL PROTECTED]> wrote:
> >To: "Linux-India-Help@Lists. Sourceforge.
> Net"<[EMAIL PROTECTED]>
> >Cc:
> >Subject: [LIH] process communication.
> >Date: Wed, 26 Dec 2001 05:56:52 +0530
> >
> >----------------------------------------------
> >Hi Gurus,
> >It may sound absurd but i am stuck up.
> >
> >How do i communicate with a running process from command line?
> >
> >The daemon is written by me in perl, it accept username:passwd string and
> >returns OK or NOOK, depending on passwd match.
> >ps -A gives the PID of daemon.
> >
> >Any Idea?
> >
> >
> >Regards,
> >Mukund Deshmukh
> >Beta Computronics Pvt. Ltd.
> >Web site - http://betacomp.com
> >
> >
> >
> >
> >_______________________________________________
> >linux-india-help mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/linux-india-help
> >Get Your Private, Free E-mail from Indiatimes at
> http://email.indiatimes.com
> >
> > Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from
> http://www.planetm.co.in
> >
> >
> >_______________________________________________
> >linux-india-help mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/linux-india-help
> >
>
>
>
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to