task scheduler thinks python script is still running -


I have a python script which in turn executes other python scripts. I put it on a WinXP task scheduler as a task. Talk Run - Command Prompt is opened, Sparks are flying, Magic happens ... After all the work is done, I have finished a good print script !! And to get back soon but Task Scheduler thinks that the work is still going on!

So I tried to create a bat file which only makes a script call:

  script.py echo pyfinished   

I can not really see 'pyfinished' to surprise me ...

A line with os.system ('cmd / k script.py') makes the process to survive until I can kill it manually.

Comments