You shouldn't normally use a gas, petrol or other combustion cooker inside your tent for two reasons: the risk of fire and the possible build-up of carbon dioxide (or worse, carbon monoxide) if there's inadequate ventilation.