On 10/12/2023 2:05 PM, Alan C. Assis wrote:
Ah ok, I tested using the original code with "ls" instead "/bin/ls"
and the result as similar to NuttX: didn't print anything.

That is a different problem; it did not find ls.  On linux, use /execvp/ instead of /execv //or //execve/.  With execve, you need to provide the full path to the executable.  Otherwise is won't find ls.

Reply via email to