Re: mac os core dump from detached process

2015-04-29 Thread Robin Becker
On 27/04/2015 11:29, Colin McPhail wrote: ... Is it possible to get core dumps on the Mac for debugging purposes? Would the detached process inherit flags etc etc from the starting process? I know little about OS X/Mach. My first thought would be to run Applications -> Utilities ->

Re: mac os core dump from detached process

2015-04-28 Thread Colin McPhail
> On 27 Apr 2015, at 10:21, Robin Becker wrote: > > I'm using the double fork exec model as exemplified in > > http://code.activestate.com/recipes/278731-creating-a-daemon-the-python-way/ > > to run a django management command detached from any view. A database object > is used to store/updat

mac os core dump from detached process

2015-04-27 Thread Robin Becker
I'm using the double fork exec model as exemplified in http://code.activestate.com/recipes/278731-creating-a-daemon-the-python-way/ to run a django management command detached from any view. A database object is used to store/update information about the process. The command does have a log fi