RE: [Mono-list] Deamonize. Running a Mono app. in the background

2005-03-16 Thread Jonathan Pryor
On Tue, 2005-03-15 at 16:24 -0700, Jesse Pasichnyk wrote: > Are the execv, setuid and setgid methods working? > > I wrote some stuff using those, and it did the execv fine, but didn't seem > to want to change the identity the application was running under. > > The exe had permissions 6755. > > I

RE: [Mono-list] Deamonize. Running a Mono app. in the background

2005-03-15 Thread Jesse Pasichnyk
table? Thanks, Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jörg Rosenkranz Sent: Tuesday, March 15, 2005 7:24 AM To: Michael Rasmussen; mono-list@lists.ximian.com Subject: RE: [Mono-list] Deamonize. Running a Mono app. in the background Hello Mi

RE: [Mono-list] Deamonize. Running a Mono app. in the background

2005-03-15 Thread Jörg Rosenkranz
Hello Michael, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Michael Rasmussen > > Hi List, > > How does one run a Mono app. as a deamon? > > In C/C++ I would do it this way: > > ... > /* Fork off the parent process */ > pid = fork(); The