Exemplo n.º 1
0
Arquivo: launch.py Projeto: 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)
Exemplo n.º 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)
Exemplo n.º 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)