Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9153339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:15:27+00:00 2026-06-17T12:15:27+00:00

I have a MAC OSX objective C application say first.app ,in which i use

  • 0

I have a MAC OSX objective C application say first.app ,in which i use NSAppleScript with admin privileges to run a shell script.This script is indented to launch another Objective C application say second.app.

When you use open command Ex: “open second.app” in shell script it works fine .

But if you launch the second.app by calling its binary Ex: “/second.app/Contents/MacOS/second ” in shell script ,then the control don’t come back to first.app until second.app closes . when we close the second.app then first.app resumes .

What is the difference in launching the application from open command and calling the applications binary directly as mentioned ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:15:28+00:00Added an answer on June 17, 2026 at 12:15 pm

    Calling

    open Second.app
    

    is the same as double-clicking the app’s icon in the Finder. The application is started via LaunchServices, and the open command returns immediately.

    Calling

    /path/to/Second.app/Contents/MacOS/Second
    

    starts the application directly (without LaunchServices), and returns only when the application has terminated.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a relatively simple application which I need to make native Mac OSX
I am using Xcode to create a Mac OSX, Objective-C, cocoa app. I have
I have a code which runs on mac osx or on linux and I
I have a graphics editing cocoa app on Mac OSX that produces 32 by
I'm trying to run ActiveMQ on Mac OSX 10.5.7. I have Java version 1.5.0_19
I have a cross-platform application for the Win and Mac OSX platforms written in
I have a .NET application, which I want to port to OSX. Up to
I have to run top in my machine (mac osx), and get the cpu
I have an OSX application written in Objective-C/Cocoa using xcode. The application is quite
Assume I have a Mac OS X application which links to WebKit and uses

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.