PID and/or handle assistance. . .?

Discussion in 'Python' started by Michael Williams, Oct 22, 2005.

  1. Hi All,

    Can anyone explain how to both spawn processes from PYTHON and
    acquire their process IDs or a handle to them for use later? I'd
    also like to acquire the stdout of each spawned process.

    Regards,
    Mike
     
    Michael Williams, Oct 22, 2005
    #1
    1. Advertising

  2. Michael Williams wrote:
    > Hi All,
    >
    > Can anyone explain how to both spawn processes from PYTHON and acquire
    > their process IDs or a handle to them for use later? I'd also like to
    > acquire the stdout of each spawned process.


    Google dead today? Well, check out the modules subprocess, popen2 and os.

    Regards,

    Diez
     
    Diez B. Roggisch, Oct 22, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dietrich
    Replies:
    1
    Views:
    667
    Joe Smith
    Jul 22, 2004
  2. Leon
    Replies:
    2
    Views:
    564
  3. Yves Glodt
    Replies:
    0
    Views:
    304
    Yves Glodt
    Nov 11, 2005
  4. =?ISO-8859-1?Q?Gerhard_H=E4ring?=

    Re: how to start a process and get it's pid?

    =?ISO-8859-1?Q?Gerhard_H=E4ring?=, Nov 11, 2005, in forum: Python
    Replies:
    6
    Views:
    9,718
    J Correia
    Nov 15, 2005
  5. =?ISO-8859-1?Q?KLEIN_St=E9phane?=
    Replies:
    3
    Views:
    475
    hanumizzle
    Oct 6, 2006
Loading...

Share This Page