Created
November 1, 2013 05:22
-
-
Save ozw-sei/7261261 to your computer and use it in GitHub Desktop.
ターミナルから通知。Python ref: http://qiita.com/GRUGA7348/items/0f02a3d914dae9676f07
This file contains hidden or 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
| #!/usr/bin/env python | |
| import subprocess | |
| args = ["echo",'display notification \"command\" with title \"Terminal\" subtitle \"Mothra\"'] | |
| subprocess.call(args) | |
| #print("display notification 'hoge' | osascript") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment