Replace subexec with posix-spawn