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? -- http://mail.python.org/mailman/listinfo/python-list