Re: Running normally-GUI Cocoa apps as background processes
Re: Running normally-GUI Cocoa apps as background processes
- Subject: Re: Running normally-GUI Cocoa apps as background processes
- From: Eric Peyton <email@hidden>
- Date: Sat, 28 Jul 2001 15:42:57 -0500
On Saturday, July 28, 2001, at 03:27 PM, David Remahl wrote:
>
>> Supposing I have a GUI-based Cocoa app, is there any way I can
>
>> run it as
>
>> a background process (i.e. invisible, like Apache, not just
>
>> 'behind the
>
>> current app')? I've got an app which I'd like to be running in the
>
>> background of some macs (doing background processing for image
>
>> crunching)
>
>> and I'd like to be able to ssh in and start them up remotely,
>
>> without the
>
>> user getting a faceful of half-processed image.
>
>
>
> No. NSApplicationMain() initialises a connection to the
>
> WindowServer. You could always create a foundation tool for your
>
> purposes.
>
>
>
What about NSBGOnly?
It still connects to the window server.
Eric
>
>
/ david
>
>
(BTW, nice work on the HXD installer, Finlay!)
>
_______________________________________________
>
cocoa-dev mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev