Re: [Boston.pm] kill with parameter

2002-12-01 Thread Andrew M. Langmead
On Saturday, November 30, 2002, at 01:15 AM, Komtanoo Pinpimai wrote: Sorry. This question is not directly related to Perl. However, I'm so curious for a long time that why unix doesn't allow us to pass parameters to "kill system call". For example, I want to do this: On most Unix

Re: [Boston.pm] kill with parameter

2002-11-30 Thread Chris Devers
On Sat, 30 Nov 2002, Jerrad Pierce wrote: > Because that's not how kill works in UN*X. Kill sends a numbered signal > (try kill(1) or kill -1). The process then reacts (or not) accordingly. > End of story. It's not a general purpose interprocess communication > mechanism. Maybe you want to read

Re: [Boston.pm] kill with parameter

2002-11-29 Thread Jerrad Pierce
Because that's not how kill works in UN*X. Kill sends a numbered signal (try kill(1) or kill -1). The process then reacts (or not) accordingly. End of story. It's not a general purpose interprocess communication mechanism. Maybe you want to read perlipc(1). --

[Boston.pm] kill with parameter

2002-11-29 Thread Komtanoo Pinpimai
Hello, Sorry. This question is not directly related to Perl. However, I'm so curious for a long time that why unix doesn't allow us to pass parameters to "kill system call". For example, I want to do this: kill -HUP -input "Hello World" 1234 That will send signal HUP and string "Hello