• 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: David Remahl <email@hidden>
  • Date: Sat, 28 Jul 2001 22:27:50 +0200

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?

/ david

(BTW, nice work on the HXD installer, Finlay!)


  • Follow-Ups:
    • Re: Running normally-GUI Cocoa apps as background processes
      • From: Eric Peyton <email@hidden>
References: 
 >Re: Running normally-GUI Cocoa apps as background processes (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: SigBus 10
  • Next by Date: Re: Running normally-GUI Cocoa apps as background processes
  • 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