I have a "login item" which runs a short Perl script. It is a
*.terminal
file simply because I don't know how else to run a script as a login item (ie. there is no input or output). It works well, except for one thing: each time it runs, it creates a new copy of the Terminal profile. By now, I have about a hundred of them :-(
This doesn't seem to happen with my other *.terminal
files, but there are two key differences and I don't know which one is responsible for the behavior:
1. The others are not login items, I run them manually by double-clicking their icons.
2. The others are bash scripts, not Perl scripts.
How can I prevent these new profiles? Again, I'm not married to Terminal - if there is a way to run a script at login time that doesn't involve Terminal, I prefer it.
--
Ian
Asked by q.undertow
(119 rep)
Jul 11, 2022, 03:48 PM
Last activity: Jul 13, 2022, 03:25 AM
Last activity: Jul 13, 2022, 03:25 AM