On 4/25/07, Nath, Alok (STSD) <[EMAIL PROTECTED]> wrote:
Can I send a kill signal to a process which is created using
system call ?
No. system() won't return while the child process is still running.
If you have the process running in parallel (such as with fork, or a
piped op
On 4/25/07, Nath, Alok (STSD) <[EMAIL PROTECTED]> wrote:
Hi,
But for this you need to know the process id.
The system command doesn't returns, I think ?
~AN.
Take a look at the alarm function.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http
Hi,
But for this you need to know the process id.
The system command doesn't returns, I think ?
~AN.
-Original Message-
From: Owen Cook [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007 4:02 PM
To: beginners@perl.org
Subject: Re: Killing a process created using system
O
On Wed, Apr 25, 2007 at 03:12:38PM +0530, Nath, Alok (STSD) wrote:
> Hi,
> Can I send a kill signal to a process which is created using
> system call ?
>
> Basically I wanted to send a CTRL-C signal to the process
> created by system call (of course in the same program).
Hi,
Can I send a kill signal to a process which is created using
system call ?
Basically I wanted to send a CTRL-C signal to the process
created by system call (of course in the same program).
Something like this :
sub test()