(echo "(println :hello)"; cat <&0) | lein repl
This prints the command - letting the REPL process it -, then "switches back" to stdin for input. You might have to interrupt the cat call after leaving the REPL, though.
cat