Use spawn instead of exec or fork