Why would a MacOS app not run from Launchpad or Finder but run from Terminal just fine?
Latest MacOS 10.14.2.
Running from Terminal works.
> "/Applications/Racket v7.1/bin/DrRacket"
But DrRacket crashes or doesn't run (can't tell which) when I launch the app from Launchpad, and the same goes for when locating the executable in Finder and Right-clicking and selecting "Open" (which should allow me to bypass any security checks).
mac terminal finder
add a comment |
Latest MacOS 10.14.2.
Running from Terminal works.
> "/Applications/Racket v7.1/bin/DrRacket"
But DrRacket crashes or doesn't run (can't tell which) when I launch the app from Launchpad, and the same goes for when locating the executable in Finder and Right-clicking and selecting "Open" (which should allow me to bypass any security checks).
mac terminal finder
Please create a tag for Racket (language)
– Ryan
Jan 29 at 20:39
Don't know what (Dr) Racket is, but assuming the path shown above is the complete path to the binary executable, that explains why it works from Terminal and not from Finder/Launchpad. I don't have the specifics, but "MacOS" apps are required to have a specific folder structure. You run the "folder" (/Applications/Racket v7.1
) and Finder locates the "real" executable by looking inside a certain folder structure. And "./bin" isn't it. When this app does run from the Terminal, does it run inside the Terminal window, or does it launch its own GUI? Does it require "X" to be running too?
– jimtut
Jan 30 at 2:35
add a comment |
Latest MacOS 10.14.2.
Running from Terminal works.
> "/Applications/Racket v7.1/bin/DrRacket"
But DrRacket crashes or doesn't run (can't tell which) when I launch the app from Launchpad, and the same goes for when locating the executable in Finder and Right-clicking and selecting "Open" (which should allow me to bypass any security checks).
mac terminal finder
Latest MacOS 10.14.2.
Running from Terminal works.
> "/Applications/Racket v7.1/bin/DrRacket"
But DrRacket crashes or doesn't run (can't tell which) when I launch the app from Launchpad, and the same goes for when locating the executable in Finder and Right-clicking and selecting "Open" (which should allow me to bypass any security checks).
mac terminal finder
mac terminal finder
edited Jan 29 at 20:53
Ryan
asked Jan 29 at 20:26
RyanRyan
246
246
Please create a tag for Racket (language)
– Ryan
Jan 29 at 20:39
Don't know what (Dr) Racket is, but assuming the path shown above is the complete path to the binary executable, that explains why it works from Terminal and not from Finder/Launchpad. I don't have the specifics, but "MacOS" apps are required to have a specific folder structure. You run the "folder" (/Applications/Racket v7.1
) and Finder locates the "real" executable by looking inside a certain folder structure. And "./bin" isn't it. When this app does run from the Terminal, does it run inside the Terminal window, or does it launch its own GUI? Does it require "X" to be running too?
– jimtut
Jan 30 at 2:35
add a comment |
Please create a tag for Racket (language)
– Ryan
Jan 29 at 20:39
Don't know what (Dr) Racket is, but assuming the path shown above is the complete path to the binary executable, that explains why it works from Terminal and not from Finder/Launchpad. I don't have the specifics, but "MacOS" apps are required to have a specific folder structure. You run the "folder" (/Applications/Racket v7.1
) and Finder locates the "real" executable by looking inside a certain folder structure. And "./bin" isn't it. When this app does run from the Terminal, does it run inside the Terminal window, or does it launch its own GUI? Does it require "X" to be running too?
– jimtut
Jan 30 at 2:35
Please create a tag for Racket (language)
– Ryan
Jan 29 at 20:39
Please create a tag for Racket (language)
– Ryan
Jan 29 at 20:39
Don't know what (Dr) Racket is, but assuming the path shown above is the complete path to the binary executable, that explains why it works from Terminal and not from Finder/Launchpad. I don't have the specifics, but "MacOS" apps are required to have a specific folder structure. You run the "folder" (
/Applications/Racket v7.1
) and Finder locates the "real" executable by looking inside a certain folder structure. And "./bin" isn't it. When this app does run from the Terminal, does it run inside the Terminal window, or does it launch its own GUI? Does it require "X" to be running too?– jimtut
Jan 30 at 2:35
Don't know what (Dr) Racket is, but assuming the path shown above is the complete path to the binary executable, that explains why it works from Terminal and not from Finder/Launchpad. I don't have the specifics, but "MacOS" apps are required to have a specific folder structure. You run the "folder" (
/Applications/Racket v7.1
) and Finder locates the "real" executable by looking inside a certain folder structure. And "./bin" isn't it. When this app does run from the Terminal, does it run inside the Terminal window, or does it launch its own GUI? Does it require "X" to be running too?– jimtut
Jan 30 at 2:35
add a comment |
2 Answers
2
active
oldest
votes
Since it is cross-platform, Racket was not built using the standard macOS App Bundle and opening the DMG just displays a folder, not an app. Within the folder is the DrRacket.app, which launches via Finder or Launchpad. It also contains the various folders for a more traditional command-line installation.
As of Racket 7.2, "/Applications/Racket v7.2/bin/drracket" (note the lowercase), is a shell script designed to launch the GUI app via the Terminal. Also contained within the folder is a terminal-based "racket" application.
You can drag the DrRacket.app file from the top-level of the Racket 7.X folder to the Desktop or Dock if you want a quick way of launching the GUI or use Spotlight.
add a comment |
It is due to outdated code signatures. MacOS prevents it from running. To override this behavior, the developers of DrRacket told me to drag the app out of the folder and back into the folder to force MacOS to trust the app. This worked.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1399800%2fwhy-would-a-macos-app-not-run-from-launchpad-or-finder-but-run-from-terminal-jus%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Since it is cross-platform, Racket was not built using the standard macOS App Bundle and opening the DMG just displays a folder, not an app. Within the folder is the DrRacket.app, which launches via Finder or Launchpad. It also contains the various folders for a more traditional command-line installation.
As of Racket 7.2, "/Applications/Racket v7.2/bin/drracket" (note the lowercase), is a shell script designed to launch the GUI app via the Terminal. Also contained within the folder is a terminal-based "racket" application.
You can drag the DrRacket.app file from the top-level of the Racket 7.X folder to the Desktop or Dock if you want a quick way of launching the GUI or use Spotlight.
add a comment |
Since it is cross-platform, Racket was not built using the standard macOS App Bundle and opening the DMG just displays a folder, not an app. Within the folder is the DrRacket.app, which launches via Finder or Launchpad. It also contains the various folders for a more traditional command-line installation.
As of Racket 7.2, "/Applications/Racket v7.2/bin/drracket" (note the lowercase), is a shell script designed to launch the GUI app via the Terminal. Also contained within the folder is a terminal-based "racket" application.
You can drag the DrRacket.app file from the top-level of the Racket 7.X folder to the Desktop or Dock if you want a quick way of launching the GUI or use Spotlight.
add a comment |
Since it is cross-platform, Racket was not built using the standard macOS App Bundle and opening the DMG just displays a folder, not an app. Within the folder is the DrRacket.app, which launches via Finder or Launchpad. It also contains the various folders for a more traditional command-line installation.
As of Racket 7.2, "/Applications/Racket v7.2/bin/drracket" (note the lowercase), is a shell script designed to launch the GUI app via the Terminal. Also contained within the folder is a terminal-based "racket" application.
You can drag the DrRacket.app file from the top-level of the Racket 7.X folder to the Desktop or Dock if you want a quick way of launching the GUI or use Spotlight.
Since it is cross-platform, Racket was not built using the standard macOS App Bundle and opening the DMG just displays a folder, not an app. Within the folder is the DrRacket.app, which launches via Finder or Launchpad. It also contains the various folders for a more traditional command-line installation.
As of Racket 7.2, "/Applications/Racket v7.2/bin/drracket" (note the lowercase), is a shell script designed to launch the GUI app via the Terminal. Also contained within the folder is a terminal-based "racket" application.
You can drag the DrRacket.app file from the top-level of the Racket 7.X folder to the Desktop or Dock if you want a quick way of launching the GUI or use Spotlight.
answered Jan 30 at 22:31
MMBMMB
45326
45326
add a comment |
add a comment |
It is due to outdated code signatures. MacOS prevents it from running. To override this behavior, the developers of DrRacket told me to drag the app out of the folder and back into the folder to force MacOS to trust the app. This worked.
add a comment |
It is due to outdated code signatures. MacOS prevents it from running. To override this behavior, the developers of DrRacket told me to drag the app out of the folder and back into the folder to force MacOS to trust the app. This worked.
add a comment |
It is due to outdated code signatures. MacOS prevents it from running. To override this behavior, the developers of DrRacket told me to drag the app out of the folder and back into the folder to force MacOS to trust the app. This worked.
It is due to outdated code signatures. MacOS prevents it from running. To override this behavior, the developers of DrRacket told me to drag the app out of the folder and back into the folder to force MacOS to trust the app. This worked.
answered Feb 2 at 23:50
RyanRyan
246
246
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1399800%2fwhy-would-a-macos-app-not-run-from-launchpad-or-finder-but-run-from-terminal-jus%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please create a tag for Racket (language)
– Ryan
Jan 29 at 20:39
Don't know what (Dr) Racket is, but assuming the path shown above is the complete path to the binary executable, that explains why it works from Terminal and not from Finder/Launchpad. I don't have the specifics, but "MacOS" apps are required to have a specific folder structure. You run the "folder" (
/Applications/Racket v7.1
) and Finder locates the "real" executable by looking inside a certain folder structure. And "./bin" isn't it. When this app does run from the Terminal, does it run inside the Terminal window, or does it launch its own GUI? Does it require "X" to be running too?– jimtut
Jan 30 at 2:35