Hi,
i got problem with lnuma+fork+execvp+"ls". That is:

In my program i call functions from "libnuma" to find out which cpus are from which node. Therefore, i have to use -lnuma during compiling.

Later fork is used to create a child process. In the child process i use "execvp" to execute an another program, such as "ls".

Then i got the error " ls: cannot access ���h2: Invalid argument". I don't know what are ���.

But if I call a normal probram which is written by me, there is no error.

What is that?