3 def execute(selection
, iface
, prog
, prog_args
):
4 selection
.setup_bindings()
6 prog_path
= os
.path
.join(selection
[iface
].path
, prog
)
7 if not os
.path
.exists(prog_path
):
8 print "'%s' does not exist." % prog_path
9 print "(implementation '%s' + program '%s')" % (chosen
.path
, prog
)
11 os
.execl(prog_path
, prog_path
, *prog_args
)