The main issue would voltage drop due to current. If you going to a digital input or small relay, that should not be a problem.
I'd run shielded twisted pair cable and keep it away from any high current power circuits.
"The perfect is the enemy of the good." -- Voltaire