def execute_in_dir(path, cmd)
      exit_status = 0
      Dir.chdir(path) do
        exit_status = run %( #{cmd} )
      end
      exit_status
    end
def execute_in_dir(path, cmd)
      exit_status = 0
      Dir.chdir(path) do
        exit_status = run %( #{cmd} )
      end
      exit_status
    end
Execute in a given directory