put function invoke in subshell, better list output