Why would a MacOS app not run from Launchpad or Finder but run from Terminal just fine?












1















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).










share|improve this question

























  • 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
















1















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).










share|improve this question

























  • 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














1












1








1








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).










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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



















  • 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










2 Answers
2






active

oldest

votes


















1














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.






share|improve this answer































    0














    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.






    share|improve this answer























      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
      });


      }
      });














      draft saved

      draft discarded


















      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









      1














      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.






      share|improve this answer




























        1














        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.






        share|improve this answer


























          1












          1








          1







          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.






          share|improve this answer













          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 30 at 22:31









          MMBMMB

          45326




          45326

























              0














              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.






              share|improve this answer




























                0














                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.






                share|improve this answer


























                  0












                  0








                  0







                  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.






                  share|improve this answer













                  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.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 2 at 23:50









                  RyanRyan

                  246




                  246






























                      draft saved

                      draft discarded




















































                      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.




                      draft saved


                      draft discarded














                      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





















































                      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







                      Popular posts from this blog

                      Plaza Victoria

                      Puebla de Zaragoza

                      Musa