You can trap any signal you feel like in perl and I would suggest we 
move this discussion to LIP now :). you might want to check out
"perldoc perlfaq8" for samples.



Mithun

Rohan Almeida wrote:

> Yes mukund... i understand
> killing is bad...
> 
> but the kill command can send any type of signal u want.
> If u don't send any signal, then the default TERM signal is sent which "kills" the 
>process.
> 
> check out the -s option of kill
> better still...
> do man kill



>>"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.




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

Reply via email to