Vent terminates by window

Just inspected a house where the vent is too close to a window. Realtor things will look bad to have vent go up as high as would be needed and was looking for other solutions… Any thoughts on putting a mechanical vent? Would that be an easy solution? If it’s good enough for under the kitchen sink, shouldn’t it be good enough for outside a window.

Pics ?

How about doing it properly and re-routing it in the attic and penetrating at a different (that meets proper clearance requirements) spot?