     line = to_string([state.line, line])
 
     if state.debug do
-      Logger.debug("CMD // #{state.cmd} // #{inspect self}< #{line}")
+      Logger.debug("CMD // #{Path.basename state.cmd} // #{inspect self}< #{line}")
     end
 
     case RPC.Client.parse_line(state.client, line) do

    Logger.warn("Command got info #{inspect any}")
    {:noreply, state}
  end
  def handle_call(any, state) do
    Logger.warn("Command got call #{inspect any}")
    {:noreply, state}
  end

end

    cmdopts = cmdopts ++ [:stream, :line, :use_stdio, args: args]
    port = Port.open({:spawn_executable, cmd}, cmdopts)
    Port.connect(port, server)
    Logger.debug("Starting command #{cmd} at port")

    {:ok, client} = RPC.Client.start_link [
        writef: fn line ->
