Example #1
0
File: launch.py Project: pbx/kupfer
 def application_launch_callback(argv, pid, notify_id, files, timestamp):
     is_terminal = terminal.is_known_terminal_executable(argv[0])
     if not is_terminal:
         svc.launched_application(app_id, pid)
Example #2
0
 def application_launch_callback(argv, pid, notify_id, files, timestamp):
     is_terminal = terminal.is_known_terminal_executable(argv[0])
     if not is_terminal:
         svc.launched_application(app_id, pid)
Example #3
0
	def application_launch_callback(argv, pid, notify_id, files, timestamp):
		pretty.print_debug(__name__, "Launched", argv, pid, notify_id, files)
		is_terminal = terminal.is_known_terminal_executable(argv[0])
		pretty.print_debug(__name__, argv, "is terminal:", is_terminal)
		if not is_terminal:
			svc.launched_application(app_id, pid)