media-session: instal media session

Install the example media-session
Load the media session according to the PATH
Include the example directory in the PATH so we can run the media
session.
This commit is contained in:
Wim Taymans 2020-01-13 16:27:46 +01:00
parent 3dbcc7808c
commit 6c8fd3c29d
5 changed files with 6 additions and 5 deletions

View file

@ -223,7 +223,7 @@ execute_command_exec(struct pw_command *command, struct pw_context *context, cha
if (pid == 0) {
pw_log_info("exec %s", command->args[1]);
res = execv(command->args[1], command->args);
res = execvp(command->args[1], command->args);
if (res == -1) {
res = -errno;
asprintf(err, "'%s': %m", command->args[1]);