[Daemonize-talk] Mac OS X problem?
Status: Beta
Brought to you by:
jseutter
|
From: Daryl S. <dar...@gm...> - 2008-04-17 23:33:49
|
I wrote my first daemon, but it didn't run. So I boiled it down to a
very simple example, which also doesn't work:
----
#!/usr/bin/env python
import daemonize
def the_other_main_that_calls_the_main_function():
daemonize.start(main)
def main():
print "main()!"
if __name__ == "__main__":
the_other_main_that_calls_the_main_function()
----
I tried deleting /tmp/daemonize.lock (and running again), but still nothing.
Could it be a problem with Mac OS X (I'm running 10.5.2) or (more
likely) am I not understanding something?
--
Daryl Spitzer
|