Output from post install script is not printed #1675
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the bug
Arduino boards platform authors may add a "post-install script" to their platform. Arduino CLI and Arduino IDE run this script at the end of the platform installation process.
🐛 Output from the script is not printed. This output might provide instructions to the user or information useful for troubleshooting an error during the script execution.
To Reproduce
The process was not run as root, so it was necessary for the script to exit without configuring the udev rules as intended:
https://github.com/arduino/ArduinoCore-mbed/blob/2.7.2/post_install.sh#L12-L15
🐛 The Arduino CLI output does not include the script output:
Expected behavior
Arduino CLI prints any output from the post-install script, as is done by Arduino IDE 1.x.
Desktop
Additional context
I realize that it is very questionable whether the output from the particular script used by the demo is of any value. But that only indicates a defect in the implementation of this specific script, not that script output is fundamentally worthless.
Related
The text was updated successfully, but these errors were encountered: