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


  defp process_command({:cookie, h}, _config) do
    if Node.alive? do
      Node.set_cookie(binary_to_atom(h))
      :ok
    else
      { :error, "--cookie : Cannot set cookie if the node is not alive (set --name or --sname)" }
    end
  end

  defp process_command({:eval, expr}, _config) when is_binary(expr) do
    Code.eval_string(expr, [])
    :ok
  end

  defp process_command({:app, app}, _config) when is_binary(app) do

    prune_stacktrace(t)
  end

  defp prune_stacktrace([{ __MODULE__, :wrapper, 1, _ }|t]) do
    []
  end

  defp prune_stacktrace([h|t]) do
    [h|prune_stacktrace(t)]
  end
