def sudo_task(task,options={},&block)
      arguments = task.arguments
      arguments << options unless options.empty?

      return sudo(*arguments,&block)
    end
def sudo_task(task,options={},&block)
      arguments = task.arguments
      arguments << options unless options.empty?

      return sudo(*arguments,&block)
    end
Runs the program under `sudo` with the arguments from the given task.

 @param [Task, #to_a] task
   The task who's arguments will be used to run the program.

 @param [Hash] options
   Spawn options for the program to be ran.

 @yield [sudo]
   If a block is given, it will be passed the sudo task.

 @yieldparam [SudoTask] sudo
   The sudo tasks.

 @return [true, false]
   Specifies the exit status of the program.

 @see #sudo

 @since 0.3.0