Example #1
0
 def activate(self, leaf, ctx):
     try:
         utils.spawn_terminal(leaf.object, ctx.environment.get_screen())
     except utils.SpawnError as exc:
         raise OperationError(exc)
Example #2
0
	def activate(self, leaf):
		utils.spawn_terminal(leaf.object)