Fix exec_command prototype for the plugin