I\'d like to be able to inject an initial command into the launching of an interactive process, so that I can do something like this:
echo \"initial command\
You don't need to write a new tool to forward stdin - one has already been written (cat):
stdin
cat
(echo "initial command" && cat) | some_tool
This does have the downside of connecting a pipe to some_tool, not a terminal.
some_tool