Catalina Terminal zsh exec format error

Each time i open Catalina 10.15.(1-4) french, a terminal window is opened on the desktop with the following error message "zsh: exec format error: /Applications/Utilities/Capture d’écran alias" I have no experience with using the Terminal. I re-installed MacOS with option+command+R and Time-Machine but the problem has persisted.

Macbook Pro 15” 2017, Processeur 2,9 GHz Intel Core I7 quatre coeurs, Intel HD Graphics 630 1536 Mo.


MacBook Pro 15", macOS 10.15

Posted on Apr 1, 2020 10:00 AM

Reply
7 replies

Apr 1, 2020 10:20 AM in response to Adrian Pick

Use the following syntax:

open -a "/Applications/Utilities/Capture d'écran alias"


None of the applications in the /Applications folder, or Utilities folder have any execution privileges by design because they are package folders containing the real, internal, executable application binary. You cannot just run these graphical applications like they were Unix commands. Their aliasses created by the Finder are non-executable too.


The open command above is the right approach.

Apr 2, 2020 6:58 AM in response to Adrian Pick

If no Terminal.app window opened in the new session, you probably have something wrong in your login scripts.


This would probably be a script called at login from your user login (System Preferences > Users & Groups > Login Items) that contains a bug. Seemingly something attempting a screenshot.


Or a lower-level script for the shell logins. Given you’re seemingly not explicitly launching Terminal.app yourself, it’s probably an app-added login script.

Apr 1, 2020 10:09 AM in response to Adrian Pick

This is usually a login script error, but I lack a Catalina French configurations to test this case. As a test, create a new user, and log into that user, launch Terminal.app, and see if the error arises in that context. If it does, then it looks like a more general problem with Catalina, or maybe with a system-wide script. If it does not reoccur, then there’s likely something in your login scripts involved.


Apr 2, 2020 6:27 AM in response to MrHoffman

Thank you for your helpful reply. No Terminal window opened when I logged in with a guest account. This aesthetic problem started with Catalina 10.15.1. I have never used the Terminal, it just opens on log in and so I have just been shutting the Terminal which solves the problem until the next login.

I also have Parallels and Windows 10 that run on this Mac

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Catalina Terminal zsh exec format error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.