Terminating program run from thread (not just the thread)

Discussion in 'Python' started by Jeffrey Barish, May 28, 2004.

  1. My Tkinter GUI starts a thread that runs ogg123 using popen3. The
    thread reads the stderr from ogg123 to determine when ogg123 is done
    and, until then, to update a progress meter. I need to be able to stop
    ogg123 before it reaches the end of its task. If I terminate the
    thread that used popen3 to start ogg123, ogg123 does not terminate.
    popen3 does not return a pid, so I don't see any way to terminate the
    program. Suggestions?
    --
    Jeffrey Barish
    Jeffrey Barish, May 28, 2004
    #1
    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. Charles A. Lackman

    Terminating a thread from the main thread

    Charles A. Lackman, Dec 9, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    1,532
    Herfried K. Wagner [MVP]
    Dec 9, 2004
  2. Uppu
    Replies:
    0
    Views:
    347
  3. Ian Wilson
    Replies:
    4
    Views:
    631
    Ian Wilson
    Jan 24, 2007
  4. ern

    Terminating program with "exit( )"

    ern, Mar 23, 2006, in forum: C Programming
    Replies:
    19
    Views:
    581
    Keith Thompson
    Mar 24, 2006
  5. akineko
    Replies:
    3
    Views:
    2,597
    Jesse Noller
    Jan 29, 2009
Loading...

Share This Page