Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Side by Side Diff: mojo/devtools/common/docs/mojo_run.md

Issue 1343673002: Split devtools documentation into per-tool files. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/devtools/common/docs/mojo_debug.md ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # mojo_run
2
3 `mojo_run` allows you to run a Mojo shell either on the host, or on an attached
4 Android device.
5
6 ```sh
7 mojo_run APP_URL # Run on the host.
8 mojo_run APP_URL --android # Run on Android device.
9 mojo_run "APP_URL APP_ARGUMENTS" # Run an app with startup arguments
10 ```
11
12 Unless running within a Mojo checkout, we need to indicate the path to the shell
13 binary:
14
15 ```sh
16 mojo_run --shell-path path/to/shell/binary APP_URL
17 ```
18
19 Some applications are meant to be run embedded in a **window manager**. To run
20 these, you can pass the app url using the `--embed` flag. This will run the
21 window manager and pass the given url to it:
22
23 ```sh
24 mojo_run --embed APP_URL [--android]
25 ```
26
27 By default, `mojo_run` uses https://core.mojoapps.io/kiosk_wm.mojo as the window
28 manager. You can pass a different window manager url using the
29 `--window-manager` flag to override this.
OLDNEW
« no previous file with comments | « mojo/devtools/common/docs/mojo_debug.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698