I am running the following command on the terminal:
python -c "input('Message')" 2> log
but the Message doesn't appear on the screen. Any ideas why this happens?
In these circumstances, and in spite of what the documentation says, Python writes the prompt to standard error — so it is sent to log.