return value from exec if truthy