carta
dune-rpc(1)

dune-rpc1

Dune's rpc mechanism. experimental.

Usage

dune rpc COMMAND …

Overview

This is experimental. do not use

Commands

build [OPTION]… [TARGET]…

build a given target (requires dune to be running in passive watching mode)

flush-file-watcher [OPTION]…

Flush pending file watcher notifications in a running watch server.

ping [OPTION]…

Ping the build server running in the current directory. Passing the --wait flag allows the command to wait for a connection to the server.

status [OPTION]…

show active connections

Options

These options are common to all commands.

--help[=FMT] (default=auto)

Show this help in format FMT. The value FMT must be one of auto, pager, groff or plain. With auto, the format is pager or plain whenever the TERM env var is dumb or undefined.

--version

Show version information.

More help

Use `dune COMMAND --help' for help on a single command.

Exit status

dune rpc exits with:

0

on success.

1

if an error happened.

130

if it was interrupted by a signal.

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)

Bugs

Check bug reports at https://github.com/ocaml/dune/issues

From dune 3.24.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.