execvp(pointer_array[0], pointer_array);


Not quite sure the content of the pointer_array. You do realise that the execvp should have its last argument as null char pointer? Just for the sake of...