Process#spawn can accept arrays

This doesn't exactly fix the issue in #1651 but it at least allows it
to run now.