
rovf
Veteran
Dec 21, 2011, 4:30 AM
Post #2 of 6
(3110 views)
|
Re: [AnnShinoy] Timeout from perl script when calling the webservice
[In reply to]
|
Can't Post
|
|
Hmmm... The question in the text of your posting somehow does not math the title of the post. Of course you can continue executing your Perl program, while a background task is running. There are several ways how to do it. You can for example use fork/exec (respectively system(1,...)) to launch the process in background. See the perlipc and perlport pages for more information. Timing out a process is a different matter. For this, you can use the alarm function.
|