Commit Graph

7 Commits

Author SHA1 Message Date
Jakob Meier c0648a789b merged develop 2022-02-05 17:07:06 +01:00
Robin Müller 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
Robin Müller d47906e833
trying to fuse header / inc 2021-07-19 16:25:51 +02:00
Robin Müller d11e54dc0a
some more fixes 2021-07-15 19:06:40 +02:00
Robin Müller e2da68795b
hal integration done 2021-07-15 18:53:59 +02:00
Robin Müller 243cf42dc4
added hal subfolder 2021-07-15 18:43:16 +02:00
Robin Müller ca297a7dcd
added hal folder 2021-07-13 19:19:25 +02:00