add return status check in fexec; echo  will also update the status