mirror of
https://github.com/appium/appium.git
synced 2026-02-21 10:49:52 -06:00
This change makes it so when running an extension script (e.g., `appium driver foo run some-script`), unless the `--json` flag is present, the child process will do no buffering whatsoever and will inherit `process.stdin`, `process.stdout` and `process.stderr` from Appium. This means that extension scripts can do stuff like prompt the user for input. It _also_ means they can do stuff like display progress bars and spinners. If the user wants JSON data, we revert to the old behavior, which is to buffer the output and dump it once the script has completed.