change exec to spawn