 
   defp process_command({:script, file}, _config) when is_binary(file) do
     if exec = find_elixir_executable(file) do
-      Code.require_file(exec)
-      :ok
+      wrapper fn -> Code.require_file(exec) end
     else
       { :error, "-S : Could not find executable #{file}" }
     end

    files = Enum.filter files, &:filelib.is_regular(&1)

    if files != [] do
      Kernel.ParallelRequire.files(files)
      :ok
    else
      { :error, "-pr : No files matched pattern #{pattern}" }
    end


  defp process_command({:file, file}, _config) when is_binary(file) do
    if :filelib.is_regular(file) do
      wrapper fn -> Code.require_file(file) end
    else
      { :error, "No file named #{file}" }
    end
