Re: check instace already running...




--- Fabio Pliger <fabio.pliger@xxxxxxxx> wrote:
> Yeah, but how can i retrieve my PID number?And how do i check if the
> process
> who has written the file is still alive?If there a way to have the
> list of
> the precesses running?

This subject has come up before. The thread starts here:

http://mail.python.org/pipermail/python-list/2004-September/243294.html

But see in particular this post:

http://mail.python.org/pipermail/python-list/2004-September/243379.html

There is also a cookbook recipe here:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252495

HTH

John Ridley

Send instant messages to your online friends http://uk.messenger.yahoo.com
.



Relevant Pages

  • Re: password protection - does this work?
    ... > If you make your form POST instead of GET the passed variables of the form ... > to retrieve the passed value of password ... well, yeah, I know all about that (and I am using obviously post in my ...
    (alt.php)
  • Re: password protection - does this work?
    ... > If you make your form POST instead of GET the passed variables of the form ... > to retrieve the passed value of password ... well, yeah, I know all about that (and I am using obviously post in my ...
    (comp.lang.php)
  • Re: Overboard Idea
    ... Yeah, I was thinking that. ... I don't see a particular downside. ... Access your favorite newsgroups from home or on the road ... Another, somewhat related issue, is how to retrieve an unconscious person... ...
    (rec.boats.cruising)
  • Re: ONE: Dont You Just Hate . . .
    ... Do I gotta wear surgical gloves to retrieve the cd sleeve? ... Yeah, right. ...
    (rec.music.movies)
  • Getting the PID associated with a port
    ... only) you will recieve network connections plus the PID that has the port ... is there a way to retrieve this same information with a W32 API or .NET ...
    (microsoft.public.dotnet.languages.vb)