I killed a process (a simple .jar running in the background as a global agent) by pkill -9 java
. Since the global agent in launchd is configured as keepAlive the process gets restarted immediately.
Unfortunately this nasty popup ("The action Run Shell Script encountered an error") comes up and prevents the restart of the process without user interaction.
Is it possible that launchd simply restarts the process without waiting that the user presses OK in this popup? After pressing OK the process gets restarted properly.
Aucun commentaire:
Enregistrer un commentaire