Re: Any idea of stopping the execution of PyRun_File()

2009-06-10 Thread BigHand
On Jun 10, 7:41 am, "Gabriel Genellina" wrote: > En Mon, 08 Jun 2009 22:15:22 -0300, BigHand escribió: > > >    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

Re: Any idea of stopping the execution of PyRun_File()

2009-06-09 Thread kongcheng1400
On Jun 10, 7:41 am, "Gabriel Genellina" wrote: > En Mon, 08 Jun 2009 22:15:22 -0300, BigHand escribió: > > >    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

Re: Any idea of stopping the execution of PyRun_File()

2009-06-09 Thread Gabriel Genellina
En Mon, 08 Jun 2009 22:15:22 -0300, BigHand escribió: 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, ho

Any idea of stopping the execution of PyRun_File()

2009-06-08 Thread BigHand
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 thr