A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2003-September/200270.html below:

How to tell if a forked process is done?

How to tell if a forked process is done? How to tell if a forked process is done?Klaus Alexander Seistrup spam at magnetic-ink.dk
Thu Sep 25 02:21:39 EDT 2003
Christos TZOTZIOY Georgiou wrote:

> Thus "your next spawn" seems not relevant.

I beg to differ.  By "your next spawn" I'm not talking about spawning
from the current process.  It could be a job on a nother terminal, a
cron job etc.

>> killing blindly is bad programming practice.
>
> Yes, it is; I have used kill(pid,0) in the past, aware that it's a
> quick and dirty solution.  Semaphores are much more safe in such a
> situation.

I fully agree.


  // Klaus

-- 
 ><> 	unselfish actions pay back better


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4