summaryrefslogtreecommitdiff
path: root/grc/python
diff options
context:
space:
mode:
authorMatt Ettus2009-10-06 00:33:39 -0700
committerMatt Ettus2009-10-06 00:33:39 -0700
commit3f8026a00c261c788357b3a04f5b338a6cda4d0e (patch)
treeda08ade9266b2205c79967601f201e22da6cbe9b /grc/python
parent61926130bef20051001f97abfae4c16ffc7963f6 (diff)
parentc6b4290d73069e4e4f0f71b04a65b9670318e86d (diff)
downloadgnuradio-3f8026a00c261c788357b3a04f5b338a6cda4d0e.tar.gz
gnuradio-3f8026a00c261c788357b3a04f5b338a6cda4d0e.tar.bz2
gnuradio-3f8026a00c261c788357b3a04f5b338a6cda4d0e.zip
Merge branch 'master' of http://gnuradio.org/git/gnuradio
Diffstat (limited to 'grc/python')
-rw-r--r--grc/python/flow_graph.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/grc/python/flow_graph.tmpl b/grc/python/flow_graph.tmpl
index dce4037d5..31d99a61c 100644
--- a/grc/python/flow_graph.tmpl
+++ b/grc/python/flow_graph.tmpl
@@ -233,9 +233,14 @@ if __name__ == '__main__':
#if $generate_options == 'wx_gui'
tb.Run($flow_graph.get_option('run'))
#elif $generate_options == 'no_gui'
+ #set $run_options = $flow_graph.get_option('run_options')
+ #if $run_options == 'prompt'
tb.start()
raw_input('Press Enter to quit: ')
tb.stop()
+ #elif $run_options == 'run'
+ tb.run()
+ #end if
#end if
#end if