0
J'utilise un Mac fonctionnant sous OSX Yosemite v.10.10.5.Comment exécuter un script shell à partir d'un script AppleScript?
Lorsque je tente de lancer mon script shell de mon AppleScript, je reçois le message d'erreur suivant:
Message d'erreur à AppleScript Script Editorerror "sh: /Users/path/to/file/myShellScript.sh: Permission denied" number 126
myShellScript.sh
cd /Users/myusername/Git/myproject/
git remote remove origin
myAppleScript.applescript
do shell script "/Users/path/to/file/myShellScript.sh"
Qu'est-ce que je fais mal?
Vous devez également ajouter une ligne de tralala ('#/bin/bash'!) Comme la première ligne du script . –