summaryrefslogtreecommitdiff
path: root/grc/python
diff options
context:
space:
mode:
Diffstat (limited to 'grc/python')
-rw-r--r--grc/python/flow_graph.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/grc/python/flow_graph.tmpl b/grc/python/flow_graph.tmpl
index ace217c967..bee9c68af5 100644
--- a/grc/python/flow_graph.tmpl
+++ b/grc/python/flow_graph.tmpl
@@ -354,7 +354,10 @@ if __name__ == '__main__':
#for $m in $monitors
(tb.$m.get_id()).start()
#end for
- raw_input('Press Enter to quit: ')
+ try:
+ raw_input('Press Enter to quit: ')
+ except EOFError:
+ pass
tb.stop()
#elif $run_options == 'run'
#if $flow_graph.get_option('max_nouts')