in reply to Array for system() call

Read system. (which points to exec for more info) it says that if system has more than one argument, an array with more than one item, or the lone item does not have shell metacharacters it will not use a system shell, that means chracters like '>' are not processed but are passed as arguments.
Not using a shell is safer and faster.