Run a python script as an exe and run a new process from it

venutaurus539 at venutaurus539 at
Thu Feb 26 10:32:27 EST 2009

On Feb 26, 7:47 pm, Tim Wintle < at> wrote:
> On Thu, 2009-02-26 at 06:00 -0800, venutaurus... at wrote:
> > Thanks for the reply,
> >            Being a newbie to python, I am finding it difficult to
> > understand the logic even after thorough reading of comments. Is there
> > any simpler way where I can just run a python script from the main
> > script and exit without disturbing the second one(This will end based
> > on some other constraints which can be handled). Or can some one throw
> > some light on where should I run the function os.system(" python
> >") from the main one.
> That would be a simple way of doing it :-)

When I run that script on Windows it fails throwing the below error:

AttributeError: 'module' object has no attribute 'fork'

Please help me out..

More information about the Python-list mailing list