tartley / rerun

This project is DEPRECATED in favour of https://github.com/tartley/rerun2
Other
18 stars 4 forks source link

AttributeError: 'module' object has no attribute 'SIGTTOU' #12

Open tnkteja opened 8 years ago

tnkteja commented 8 years ago

Traceback (most recent call last): File "C:\Python27\Scripts\rerun-script.py", line 9, in load_entry_point('rerun==1.0.26', 'console_scripts', 'rerun')() File "c:\python27\lib\site-packages\rerun\rerun.py", line 146, in main signal.signal(signal.SIGTTOU, signal.SIG_IGN) AttributeError: 'module' object has no attribute 'SIGTTOU'

jmobley0429 commented 2 years ago

I was able to correct this on my end (Windows 10) by changing the that line from:

signal.signal(signal.SIGTTOU, signal.sig_IGN)

to

signal.signal(signal.SIGTERM, signal.sig_IGN)