spawn() can be called with an array argument