Re: [Daemonize-talk] Mac OS X problem?
Status: Beta
Brought to you by:
jseutter
|
From: Daryl S. <dar...@gm...> - 2008-04-18 00:57:42
|
I just tried this on Linux (RHEL 3) and it didn't work. So it's either a bug (not likely) or I'm making a mistake or bad assumption (much more likely). Can anyone offer any help? -- Daryl On Thu, Apr 17, 2008 at 4:33 PM, Daryl Spitzer <dar...@gm...> wrote: > 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 > just tried this |