Change spawn to exec