fx run-script
Run a custom combination of commands, able to take advantage of fx -i
(iterative mode)
usage: fx [-i] run-script "<command>"
`<command>` can be any command that would be valid as a single line at a shell prompt.
For example,
- Arbitrary shell commands: `fx -i run-script "ls | grep fuchsia"`
- Fuchsia commands: `fx -i run-script "ffx emu stop && fx build && ffx emu start"`
- Independent commands: `fx -i run-script "ls; find . -name test.rs"`
Passing a regular shell script is not supported.
run-script source code
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-03-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-03-28 UTC."],[],[]]