• 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 a shell script out of the current thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running a shell script out of the current thread


  • Subject: Re: Running a shell script out of the current thread
  • From: Z Rosen <email@hidden>
  • Date: Mon, 20 Sep 2004 16:52:41 -0400

Perhaps I've already gone too far down the wrong path.

What I am trying to do is allow my users to turn on/off the application's icon in the dock (the application will run as an NSStatusItem if the icon is not in the dock) from the application's preferences window. The only way I know of hiding the icon to modify Info.plist and I would rather not make my users do that by hand.

Changing Info.plist on the fly results in some draw errors in the console so I took the road of quit/modify/relaunch. If there is a better way to do this, I'm all ears.

Thanks,
-ZR


On Sep 20, 2004, at 1:57 PM, Z Rosen wrote:

My app needs to make modifications to its bundle. I have written a shell script that waits for the app to quit, makes modifications and then relaunches the app. I'm having trouble launching the shell script from inside of the app however. What would be the best way of doing this?

Thanks,
-ZR

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Running a shell script out of the current thread
      • From: Allan Odgaard <email@hidden>
References: 
 >Running a shell script out of the current thread (From: Z Rosen <email@hidden>)

  • Prev by Date: NSMutableArray
  • Next by Date: Check sign in menu item
  • Previous by thread: Re: Running a shell script out of the current thread
  • Next by thread: Re: Running a shell script out of the current thread
  • Index(es):
    • Date
    • Thread