Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Terminating program run from thread (not just the thread)

Reply
Thread Tools

Terminating program run from thread (not just the thread)

 
 
Jeffrey Barish
Guest
Posts: n/a
 
      05-28-2004
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Terminating a thread when program exits. Ian Wilson Java 4 01-24-2007 10:53 AM
Terminating program with "exit( )" ern C Programming 19 03-24-2006 07:47 PM
Terminating a thread from beanshell Uppu Java 0 02-27-2006 09:23 AM
Terminating a thread from the parent DE Python 3 05-24-2005 01:01 PM
Terminating a thread from the main thread Charles A. Lackman ASP .Net 3 12-09-2004 02:12 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57