Hi,All
   I have an embedded python application. which is  a MFC app with
Python interpreter embedded.

   In the App, I have a separate thread to execute a Python script
(using the PyRun_File), but if the user want to stop the executing
script, how should I do?

A possible way is terminate the thread of executing the scripts by
TerminateThread(). but TerminateThread() is unsafe and not
recommended.

guys, could you guide me on this?

B.R.
Harry

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to