fsfw/hal/src/fsfw_hal
Robin Mueller 371ff931bf
Linux CommandExecutor
The CommandExecutor helper class can execute shell commands in blocking and non-blocking mode
This class is able to execute processes by using the Linux popen call. It also has the capability of writing
the read output of a process into a provided ring buffer.

The executor works by first loading the command which should be executed and specifying whether
it should be executed blocking or non-blocking. After that, execution can be started with the execute call.

Using non-blocking mode allows to execute commands which might take a longer time in the background,
and allowing the user thread to check completion status with the check function

Moved to HAL like requested in code review and unit tested with failing commands as well.
Also, Linux HAL components are compiled by default now unless explicitely disabled.
2022-01-26 12:11:52 +01:00
..
common Add feature to open GPIO by line name 2021-10-11 19:55:37 +02:00
devicehandlers Op Divider and bitutility updates 2021-11-10 18:48:02 +01:00
host using _ instead of - now 2021-08-02 20:55:03 +02:00
linux Linux CommandExecutor 2022-01-26 12:11:52 +01:00
stm32h7 more cleaning up 2021-10-27 18:12:56 +02:00
CMakeLists.txt Linux CommandExecutor 2022-01-26 12:11:52 +01:00