Add an admin notice to the plugin settings page with the notice that the exec function should be allowed. In safemode this is by default not allowed.