You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: file_utils.rb
    path of file: ./repos/truffleruby/lib/gems/gems/rake-13.0.6/lib/rake
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
require "rbconfig"
require "fileutils"

#--
# This
    
  def create_shell_runner(cmd) # :nodoc:
    show_command = sh_show_command cmd
    show_command = show_command[0, 42] + "..." unless $trace

    lambda do |ok, status|
      ok or
        fail "Command failed with status (#{status.exitstatus}): " +
        "[#{show_command}]"
    end
  end