session_control tool

Reviewed on: 2020-02-04

session_control is a Fuchsia command line developer tool which allows developers to connect to the session_manager and send it commands at runtime.


To add this project to your build, append --with-base //src/session/tools to the fx set invocation.

It is also included in the larger --with-base //src/session target.

Once you have rebuilt (with fx build) be sure to re-pave your device.


Run the session_control tool from the command line on your workstation:

$ fx shell session_control --help


Unit tests for session_control are included in the session_control_tests package.

$ fx test session_control_tests

Source layout

The entrypoint and implementation are located in src/ Unit tests are co-located with the code.