ucm: add exec sequence command

This change renames the original exec command to shell which
is more appropriate. Implement a light version of the exec
command which calls directly the specified executable without
the shell interaction (man 3 system).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2021-05-11 14:48:16 +02:00
parent a468505c96
commit 590df3a5b1
6 changed files with 312 additions and 7 deletions

View file

@ -509,6 +509,7 @@ void uc_mgr_free_sequence_element(struct sequence_element *seq)
free(seq->data.sysw);
break;
case SEQUENCE_ELEMENT_TYPE_EXEC:
case SEQUENCE_ELEMENT_TYPE_SHELL:
free(seq->data.exec);
break;
default: