Skip to content

Commit ad42028

Browse files
Radu Cotescuraducotescu
Radu Cotescu
authored andcommitted
fix #14: Notifications are not dispatched on Mac OS X 10.9 with terminal-notifier installed
* added sender flag for terminal-notifier notifications
1 parent 88113fe commit ad42028

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/ro/lmn/maven/dmn/impl/MacOSXNotifier.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ public class MacOSXNotifier extends AbstractNotifier {
2828

2929
@Override
3030
public void notify(String title, String details, NotificationType notificationType) throws IOException {
31-
ProcessBuilder builder = new ProcessBuilder(locator.getPath(TERMINAL_NOTIFIER), "-title", title, "-message", details);
31+
ProcessBuilder builder = new ProcessBuilder(locator.getPath(TERMINAL_NOTIFIER), "-title", title, "-message", details, "-sender",
32+
"com.apple.Terminal");
3233
executeProcess(builder);
3334
}
3435

0 commit comments

Comments
 (0)