Simple question about light



I was just wondering, if you'd send a 1 second light pulse at a space
ship moving away from you with half the speed of light. Would the space
ship still pick it up as a 1 second pulse, or would it be longer?

I'd guess longer since it'll also be shifted, but was just curious
since it'll still be coming at the speed of light towards the ship.

.