From: HADDLETON, R. W (Bob) <bob...@no...> - 2017-09-22 05:28:06
|
Is there a functional daemon module for Jython? I used the built in daemon.DaemonContext() some time ago and it seemed to work, but now it wants the resource package which is not available in Jython. > >>> from daemon import DaemonContext > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/opt/jython-2.7.0/Lib/site-packages/daemon/__init__.py", line > 42, in <module> > from .daemon import DaemonContext > File "/opt/jython-2.7.0/Lib/site-packages/daemon/daemon.py", line > 26, in <module> > import resource > ImportError: No module named resource Thanks Bob |