How to execute a script from another script and other script doesnotdo busy wait.

VYAS ASHISH M-NTB837 ashish.vyas at motorola.com
Thu Jan 7 12:33:43 CET 2010


Did you try?

Thanks Ashish.

I've single CPU machine. I've a feeling that the thread created, which
would run script2, would eat up all of the CPU if I do not use sleep()
in script2.

That way, script1 would still be waiting for script2 to finish. Thus, my
program is no way different from the sample program I posted earlier.

Is there any other way out?



More information about the Python-list mailing list