A device for controlling the operation of an electric motor driving the arm of a windshield wiper for an opening window of an automotive vehicle, of the type comprising a power supply, a control element for selectively activating and deactivating the operation of the motor through deactivating the motor and subsequently activating the motor for a new use thereof, a control unit having a data input for inhibiting the power supply to the motor, a key contact for keeping the operation of the vehicle and said control element under user control, said key contact being connected in series between said power supply and said control unit, a detection contact for responding to the open and closed position of the window, said detection contact being connected to said control unit data input, said data input commanding the restarting of the motor on opening and closing of the window and only after said control element deactivation and subsequent activation of the motor for a new use thereof.