PID and/or handle assistance. . .?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael Williams

    #1

    PID and/or handle assistance. . .?

    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


  • Diez B. Roggisch

    #2
    Re: PID and/or handle assistance. . .?

    Michael Williams wrote:[color=blue]
    > 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.[/color]

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

    Regards,

    Diez

    Comment

    Working...