I believe later versions of the M7 grenade launcher would actually cycle the action to permit the use of ball ammunition without the need to remove the grenade launcher to use as a rifle. The recoil of the grenade and grenade launcher would open the gas valve.