Hello, I am trying to build and infinite loop handler in python 2.4 on windows platform. The problem is that i want to create a process and forcely kill/timeout after 2 sec to handle infinite loop in a gcc complied exe on cygwin. something like below
os.system("mycpp.exe") # this exe is compiled with g++ and having an infinite loop I wish to terminate this after 2 sec. I've tried Watchdog and deamon thread.. but nothing seem to work here. -- http://mail.python.org/mailman/listinfo/python-list