Notification Applications Not Quitting? #47
-
Hello, I've been testing the tool without rebuilding it for my own usage yet, on 11.6, and I've found that when the binary is invoked, even with a timeout value, it seems to hang and never exit. Example: The process just sits in activity monitor thereafter running in the background. I haven't seen other reports of this behavior so I figured it must be something unique to me, but I can reproduce it across multiple devices. Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
Hi @Oh4sh0, the agent core and every component should exit with a return value or an error so it should not hang in background. In the example you posted there are some errors:
Please refer to our Wiki for any doubt about the Usage of IBM Notifier Make sure to close all the background executions for PS: We suggest you to use the latest version of IBM Notifier because it include all the latest fix and features. We're working to provide a signed¬arized version also for the just released 2.3.2 version. |
Beta Was this translation helpful? Give feedback.
-
Thank you @SMartorelli. This syntax would be correct then, at its simplest? With all instances closed, IBM Notifier and IBM Notifier Banner launch and remain running, indefinitely, unless I perform a "CTRL+C" to terminate the execution attempt. |
Beta Was this translation helpful? Give feedback.
-
Yes it is correct, this behaviour happens on purpose. In this way you can track the user response to the banner (script exit code). Be aware that for banner UI type "almost" every action of the user is tracked but could happen that if the user close multiple banners together (from the Notification Center) this action couldn't be recognised by the agent and this is the only behaviour that cause the banner component to hang in background without any purpose. Because of this we suggest to use banners (temporary banners) for actions where the user answer is not mandatory (use alert or popup instead). |
Beta Was this translation helpful? Give feedback.
-
If this were called directly in a policy/thread, eg via JAMF policy invoking the binary, wouldn't it tie up the thread because the execution may never be returned unless the user acknowledge/does something with the banner? You note temporary banners, is there something making them temporary, because what I'm seeing is that again, that execution/process persists unless the user acknowledges/clicks on the banner. Is there an integrated timeout? |
Beta Was this translation helpful? Give feedback.
-
Just created a new issue where you can track the fix to this unexpected behaviour @Oh4sh0 |
Beta Was this translation helpful? Give feedback.
Just created a new issue where you can track the fix to this unexpected behaviour @Oh4sh0