Handle import in spawned process