Check for --mod-cmd before funcall.