Skip to content

Instantly share code, notes, and snippets.

@ozw-sei
Created November 1, 2013 05:22
Show Gist options
  • Select an option

  • Save ozw-sei/7261261 to your computer and use it in GitHub Desktop.

Select an option

Save ozw-sei/7261261 to your computer and use it in GitHub Desktop.
ターミナルから通知。Python ref: http://qiita.com/GRUGA7348/items/0f02a3d914dae9676f07
#!/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