question: Pass stdin through to the ScriptQuestion-invoked script
authorW. Trevor King <wking@tremily.us>
Wed, 6 Feb 2013 02:21:07 +0000 (21:21 -0500)
committerW. Trevor King <wking@tremily.us>
Wed, 6 Feb 2013 02:25:22 +0000 (21:25 -0500)
commit90dd6fc097cff562d399a11dd75c3e06c3e90cc6
treea51649a8d8ea436790cd24ce4aa400585af38a4f
parentde7873b217c430dc307e6a3ec6a4440cffc24842
question: Pass stdin through to the ScriptQuestion-invoked script

Use a temporary script to hold the answer script, to leave stdin open.
This allows users to use commands that need stdin (e.g. `git commit`,
which spawns an `$EDITOR`).
quizzer/question.py