• 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: how to run NSApplicationMain() in child process?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to run NSApplicationMain() in child process?


  • Subject: Re: how to run NSApplicationMain() in child process?
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Fri, 10 May 2013 17:36:48 -0500

On Fri, May 10, 2013 at 2:03 PM, Jens Alfke <email@hidden> wrote:

> #!/bin/sh
> open -b com.example.XQIVApp $@
>

You probably want this instead to prevent word splitting for elements that
have spaces:

open -b com.example.XQIVApp "$@"

Nothing is ever trivial in sh/bash ;)
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >how to run NSApplicationMain() in child process? (From: Ondrej Holecek <email@hidden>)
 >Re: how to run NSApplicationMain() in child process? (From: "Stephen J. Butler" <email@hidden>)
 >Re: how to run NSApplicationMain() in child process? (From: Ondrej Holecek <email@hidden>)
 >Re: how to run NSApplicationMain() in child process? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: how to run NSApplicationMain() in child process?
  • Next by Date: Re: NSPersistentDocument Migration with Sandbox
  • Previous by thread: Re: how to run NSApplicationMain() in child process?
  • Next by thread: Re: how to run NSApplicationMain() in child process?
  • Index(es):
    • Date
    • Thread