Some small planes can be fitted with a pilot relief tube. This is effectively a tube connected to a small venturi outside the plane. The venturi creates a low pressure system that causes there to be some suction on the tube. The tube terminates in the cockpit near the seat and the pilot is able to relieve them self.