hello, I run a python cgi script under Apache...
and while the script is running i want to display a "please wait" message until the script finish. I have tried to do this but the "please wait" message appears at the script end (which is useless at this time! ) here my script: ------------------------------------------------------------------------------------------------ def get_ret(status): signal = status & 0xff if signal == 0: retcode = status >> 8 else: retcode = 0 return signal,retcode pidActuel = os.spawnl(os.P_NOWAIT,"c:\\python25\ \python.exe","python","Main.py") if ( get_ret(os.waitpid(pidActuel,0))[1] == 0 ): print """ END""" else: print """ please wait... """ ------------------------------------------------------------------------------------------------- -- http://mail.python.org/mailman/listinfo/python-list