Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running normally-GUI Cocoa apps as background processes



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


References: 
 >Re: Running normally-GUI Cocoa apps as background processes (From: David Remahl <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.