I've got a process that reads console input from user (readline, raw_input, etc. - depending on platform). There is another process that wants to feed the first process with a given input.
How to do this in linux? Is it possible? PS the language I'm interested is Python, but hints on any language/platform are appreciated.