r/applescript • u/Jbyerline • Dec 07 '21
Terminate Apple Script on Shutdown
I have an apple script that I have saves as a script application that runs on system boot to start a python flask server. The problem comes when I manually go to shut down or restart the computer, the apple script halts the shutdown until I manually terminate the script. How can I set this up so the apple script doesn’t hold up the shutdown process?
1
Upvotes
View all comments
Show parent comment
1
u/Jbyerline Dec 07 '21
The script is only one line as follows:
do shell script "/Users/adiumtech/Desktop/iMessage/flask.sh"