They need oxygen for the combustion of the powder. If, however, you did manage to launch a projectile (like a bullet) in space, as there is no friction, it would go, far, and fast. At least thats what I understand, or can deduce from what I know.
EDIT: Yeah, learning is fun
