• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Running normally-GUI Cocoa apps as background processes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

  • Prev by Date: Re: Running normally-GUI Cocoa apps as background processes
  • Next by Date: Installing/distributing frameworks
  • Previous by thread: Re: Running normally-GUI Cocoa apps as background processes
  • Next by thread: Re: Running normally-GUI Cocoa apps as background processes
  • Index(es):
    • Date
    • Thread