hello python-dev, the following code hangs on FreeBSD 6.1-STABLE, Python 2.5b3 (r25b3:51041, Aug 5 2006, 20:46:57) $ cat pythontest #!/usr/local/bin/python2.5 import os, thread, time, sys def reboot(): print 'reboot' os.execl(sys.argv[0], sys.argv[0]) thread.start_new_thread(reboot, ()) while 1: time.sleep(1) works fine on python2.4 is this a bug or is it something i "should not do" ? Bart -------------- next part -------------- #!/usr/local/bin/python2.5 import os, thread, time, sys def reboot(): print 'reboot' os.execl(sys.argv[0], sys.argv[0]) thread.start_new_thread(reboot, ()) while 1: time.sleep(1)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4