Created
April 4, 2015 13:55
-
-
Save bmcculley/f3c94912eaeb404925bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestOSD { | |
public static void main(String[] args) throws Exception{ | |
String[] cmd = { "/usr/bin/notify-send", | |
"-t", | |
"10000", | |
"Hello OSD This is my first programmatic OSD notification"}; | |
System.out.println("This is said : Hello OSD"); | |
Runtime.getRuntime().exec(cmd); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment