Spectroscopy with an IR camera is less unusual, as the sky brightness is dispersed. Exposures of several minutes are possible, depending on the dispersion, and the observing procedure is very similar to that for optical spectroscopy. Accurate sky subtraction is needed!