Re: why does NSTask setpgrp on sub processes?

2010-01-19 Thread Derek Zhou
On Tuesday 19 January 2010 10:14:15 pm Derek Zhou wrote: > On Tuesday 19 January 2010 12:59:28 am Derek Zhou wrote: > > hi all, > > it seems NSTask setpgrp after the fork: > > ... > > /* > > > >* Make sure task i

Re: why does NSTask setpgrp on sub processes?

2010-01-19 Thread Richard Frith-Macdonald
On 20 Jan 2010, at 06:14, Derek Zhou wrote: > On Tuesday 19 January 2010 12:59:28 am Derek Zhou wrote: >> hi all, >> it seems NSTask setpgrp after the fork: >> ... >> /* >> >> * Make sure task is run in it's own p

Re: Building tool with corebase

2010-01-19 Thread Richard Frith-Macdonald
On 20 Jan 2010, at 00:34, Stef Bidi wrote: > > When I do a "make" I get the following linking error: > Making all for tool test... > Compiling file test.c ... > Linking tool test ... > /usr/GNUstep/System/Library/Libraries/libgnustep-base.so: undefined reference > to `gnustep_base_user_main'

Re: why does NSTask setpgrp on sub processes?

2010-01-19 Thread Derek Zhou
On Tuesday 19 January 2010 12:59:28 am Derek Zhou wrote: > hi all, > it seems NSTask setpgrp after the fork: > ... > /* > >* Make sure task is run in it's own process group. > >*/

Building tool with corebase

2010-01-19 Thread Stef Bidi
I know this might seem a bit weird since I'm the one that's been committing changes to corebase, but I haven't been able to successfully link a small tool. This is what I have: test.c: #include int main (void) { CFStringRef string = CFStringCreateWithCString (NULL, "Testing", kCFStringEncodin