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?

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.pcisys.net!news.pcisys.net.POSTED!not-for-mail
NNTP-Posting-Date Fri, 02 Dec 2011 17:51:34 -0600
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 <b05c40ef-6c3e-45d5-824b-27d149d28195@u6g2000vbg.googlegroups.com> <chine.bleu-D5CA65.18303101122011@news.eternal-september.org> <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>
User-Agent MT-NewsWatcher/3.5.1 (Intel Mac OS X)
Date Fri, 02 Dec 2011 16:51:34 -0700
Message-ID <tph-579378.16513402122011@localhost> (permalink)
Lines 46
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-OXsajseSFX0gXv2m1lcGCd37/PyOYPOOFzV2FD6ud8+7pDLwVhXNGFRZ6ssRmRY5Uf5oECrmt65ysUG!CODk7foDYrTpH2D5Csqb4i8yD9w8lRhSGFTfHXiOKY5coLx0Tj+cvK9B1bxKUReGk4+7Gx1s+SAj!dq69Yg==
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2992
Xref x330-a1.tempe.blueboxinc.net comp.sys.mac.system:16014

Show key headers only | 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