Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: inconsistent eval timeout

by vr (Curate)
on Nov 05, 2019 at 10:37 UTC ( [id://11108319]=note: print w/replies, xml ) Need Help??


in reply to Re^2: inconsistent eval timeout
in thread inconsistent eval timeout

Thanks. Works. However, the job keeps running in the background. Is the kill in the code one of the GNU Windows utilities?

no, kill is Perl's built-in, used to send any supported signal. Under Win32, it is described to "terminate the process identified by $pid, and make it exit immediately". Apparently, immediate exit is not guaranteed for unresponsive applications, so "taskkill /f" was required in your case.

The & Good Morning! confused me. Why is it there? Presumable a dummy activity, but why?

Correct, that "echo" part is kind of dummy; single/double (not important in this case) ampersand is to have several commands on one line, and serves no other purpose but to avoid checking for active tasks. Either I observe a "Good Morining!" even after Perl quit (child shell process was not terminated), or not.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11108319]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-19 06:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found