FRI-OS
example/posix/processes-execv.c

Shows how to execute and external program in a process

#include <stdio.h>
#include <unistd.h>
int main(int argc, const char* argv[])
{
printf("Starting\n");
const char* args[] = {"ls", "-l", "-a", ".", NULL};
execvp(args[0], (char* const*)args);
printf("Something went wrong\n");
return 1;
}