Turn a string of command line options into an array for child_process.spawn