Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #16014

Re: How to register a program with Mac OS X system?

From Tom Harrington <tph@pcisys.no.spam.dammit.net>
Newsgroups comp.sys.mac.system
Subject Re: How to register a program with Mac OS X system?
Organization Atomic Bird
References (2 earlier) <01125692-4513-4560-b68e-68c571945464@x7g2000yqb.googlegroups.com> <tph-0E8F15.10273402122011@localhost> <594ad07a-2cd1-4ee3-87ce-3b57aba454c6@f35g2000yqm.googlegroups.com> <alangbaker-D754CF.12515502122011@news.shawcable.net> <dc0fadf5-0f0c-468b-a1cb-bcf9d74b1218@4g2000yqu.googlegroups.com>
Date 2011-12-02 16:51 -0700
Message-ID <tph-579378.16513402122011@localhost> (permalink)

Show all headers | View raw


In article 
<dc0fadf5-0f0c-468b-a1cb-bcf9d74b1218@4g2000yqu.googlegroups.com>,
 justaguy <donli@yahoo.com> wrote:

> On Dec 2, 3:51 pm, Alan Baker <alangba...@telus.net> wrote:
> > In article
> > <594ad07a-2cd1-4ee3-87ce-3b57aba45...@f35g2000yqm.googlegroups.com>,
> >  justaguy <do...@yahoo.com> wrote:
> > > On Dec 2, 12:27 pm, Tom Harrington <t...@pcisys.no.spam.dammit.net>
> > > wrote:
> > > > In article
> > > > <01125692-4513-4560-b68e-68c571945...@x7g2000yqb.googlegroups.com>,
> >
> > > > justaguy <do...@yahoo.com> wrote:
> > > > > Thanks for note, but it's really "heavy" stuff... my intention is to
> > > > > help another programmer to figure out how to port my app to Mac. I
> > > > > won't have the luxury to become a Mac programmer type...
> >
> > > > Tell the other programmer to read up on launchd then, it's the best
> > > > solution. You can't do it all yourself, if only because you'll never be
> > > > able to tell if you've done it right until the other person tries it. 
> > > > If
> > > > they're doing any kind of Mac development then getting familiar with
> > > > launchd will be well worth their time.
> >
> > > Yes, he figured it out. By appending the startup routine to the end of
> > > the rc.common file.
> > > Thanks though.  Btw, I a new question coming up.
> >
> > Don't mess with rc.common. Use launchd.
> 
> So, how do we use launchd in this specific case?  thanks.

man launchd
man launchd.plist

and for testing...

man launchctl

For examples, look in /Library/LaunchDaemons/ and /Library/LaunchAgents/.

-- 
Tom "Tom" Harrington
Independent Mac OS X developer since 2002
http://www.atomicbird.com/

Back to comp.sys.mac.system | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to register a program with Mac OS X system? justaguy <donli@yahoo.com> - 2011-12-01 18:16 -0800
  Re: How to register a program with Mac OS X system? sbt <dogbreath@chaseabone.com.invalid> - 2011-12-01 18:25 -0800
    Re: How to register a program with Mac OS X system? justaguy <donli@yahoo.com> - 2011-12-01 18:35 -0800
      Re: How to register a program with Mac OS X system? Tim Streater <timstreater@greenbee.net> - 2011-12-02 10:07 +0000
  Re: How to register a program with Mac OS X system? Only Nixon could go to China Blue <chine.bleu@yahoo.com> - 2011-12-01 18:30 -0800
    Re: How to register a program with Mac OS X system? justaguy <donli@yahoo.com> - 2011-12-01 20:21 -0800
      Re: How to register a program with Mac OS X system? Tom Harrington <tph@pcisys.no.spam.dammit.net> - 2011-12-02 10:27 -0700
        Re: How to register a program with Mac OS X system? justaguy <donli@yahoo.com> - 2011-12-02 11:39 -0800
          Re: How to register a program with Mac OS X system? Alan Baker <alangbaker@telus.net> - 2011-12-02 12:51 -0800
            Re: How to register a program with Mac OS X system? justaguy <donli@yahoo.com> - 2011-12-02 13:21 -0800
              Re: How to register a program with Mac OS X system? Tim McNamara <timmcn@bitstream.net> - 2011-12-02 17:04 -0600
                Re: How to register a program with Mac OS X system? justaguy <donli@yahoo.com> - 2011-12-03 20:29 -0800
                Re: How to register a program with Mac OS X system? Alan Baker <alangbaker@telus.net> - 2011-12-04 10:14 -0800
              Re: How to register a program with Mac OS X system? Tom Harrington <tph@pcisys.no.spam.dammit.net> - 2011-12-02 16:51 -0700
              Re: How to register a program with Mac OS X system? Alan Baker <alangbaker@telus.net> - 2011-12-02 16:02 -0800
                Re: How to register a program with Mac OS X system? Barry Margolin <barmar@alum.mit.edu> - 2011-12-03 11:13 -0500
                Re: How to register a program with Mac OS X system? justaguy <donli@yahoo.com> - 2011-12-03 20:27 -0800
          Re: How to register a program with Mac OS X system? Jolly Roger <jollyroger@pobox.com> - 2011-12-02 15:54 -0600
            Re: How to register a program with Mac OS X system? justaguy <donli@yahoo.com> - 2011-12-02 14:11 -0800
              Re: How to register a program with Mac OS X system? Tim McNamara <timmcn@bitstream.net> - 2011-12-02 17:03 -0600
              Re: How to register a program with Mac OS X system? Jolly Roger <jollyroger@pobox.com> - 2011-12-02 17:06 -0600
              Re: How to register a program with Mac OS X system? Alan Baker <alangbaker@telus.net> - 2011-12-02 16:04 -0800
              Re: How to register a program with Mac OS X system? Michael Vilain <vilain@NOspamcop.net> - 2011-12-02 23:22 -0800
              Re: How to register a program with Mac OS X system? Wes Groleau <Groleau+news@FreeShell.org> - 2011-12-03 11:59 -0500
                Re: How to register a program with Mac OS X system? Michelle Steiner <michelle@michelle.org> - 2011-12-03 10:12 -0700
                Re: How to register a program with Mac OS X system? Wes Groleau <Groleau+news@FreeShell.org> - 2011-12-03 12:36 -0500
                Re: How to register a program with Mac OS X system? Michelle Steiner <michelle@michelle.org> - 2011-12-03 11:19 -0700
                Re: How to register a program with Mac OS X system? Tim McNamara <timmcn@bitstream.net> - 2011-12-03 13:09 -0600

csiph-web