execname: add execname base lib function