Skip to content

Commit 3d14705

Browse files
committed
Merge pull request #16 from raducotescu/master
fix #14: Notifications are not dispatched on Mac OS X 10.9 with terminal-notifier installed
2 parents 88113fe + ad42028 commit 3d14705

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)