feat: allow options argument to spawn

This allows setting all values child_process.spawn supports, such as cwd
and environment variables.