[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 10/20: grc: show cmdline when xterm is used
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 10/20: grc: show cmdline when xterm is used |
Date: |
Fri, 28 Aug 2015 19:19:52 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit 26b6cf4d645b68279b23467dc77d442c4b9720ec
Author: Sebastian Koslowski <address@hidden>
Date: Wed Aug 19 10:14:51 2015 +0200
grc: show cmdline when xterm is used
---
grc/gui/ActionHandler.py | 1 -
grc/gui/Messages.py | 2 +-
grc/python/Generator.py | 1 +
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/grc/gui/ActionHandler.py b/grc/gui/ActionHandler.py
index 1cc55c4..19c6edc 100644
--- a/grc/gui/ActionHandler.py
+++ b/grc/gui/ActionHandler.py
@@ -639,7 +639,6 @@ class ExecFlowGraphThread(Thread):
self.flow_graph = action_handler.get_flow_graph()
#store page and dont use main window calls in run
self.page = action_handler.get_page()
- Messages.send_start_exec(self.page.get_generator().get_file_path())
#get the popen
try:
self.p = self.page.get_generator().get_popen()
diff --git a/grc/gui/Messages.py b/grc/gui/Messages.py
index 90f508d..07c7a03 100644
--- a/grc/gui/Messages.py
+++ b/grc/gui/Messages.py
@@ -99,7 +99,7 @@ def send_fail_gen(error):
################# functions for executing flow graphs
########################################
def send_start_exec(file_path):
- send('\nExecuting: "%s"'%file_path + '\n')
+ send('\nExecuting: ' + repr(file_path) + '\n')
def send_verbose_exec(verbose):
send(verbose)
diff --git a/grc/python/Generator.py b/grc/python/Generator.py
index f807b59..98fbd0c 100644
--- a/grc/python/Generator.py
+++ b/grc/python/Generator.py
@@ -140,6 +140,7 @@ class TopBlockGenerator(object):
if self._generate_options == 'no_gui' and xterm_executable:
cmds = [xterm_executable, '-e', args_to_string(cmds)]
+ Messages.send_start_exec(args_to_string(cmds))
p = subprocess.Popen(
args=cmds, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
shell=False, universal_newlines=True)
- [Commit-gnuradio] [gnuradio] 05/20: grc: rewrite Preferences.py, (continued)
- [Commit-gnuradio] [gnuradio] 05/20: grc: rewrite Preferences.py, git, 2015/08/28
- [Commit-gnuradio] [gnuradio] 16/20: Merge remote-tracking branch 'ckuethe/trap_import_errors', git, 2015/08/28
- [Commit-gnuradio] [gnuradio] 17/20: Merge remote-tracking branch 'saikwolf/qt_themeing', git, 2015/08/28
- [Commit-gnuradio] [gnuradio] 11/20: clarify missing module exception., git, 2015/08/28
- [Commit-gnuradio] [gnuradio] 07/20: grc: move gui prefs file to ~/.gnuradio/grc.conf, git, 2015/08/28
- [Commit-gnuradio] [gnuradio] 20/20: Merge branch 'maint', git, 2015/08/28
- [Commit-gnuradio] [gnuradio] 19/20: Merge remote-tracking branch 'gnuradio-wg-grc/master_grcwg', git, 2015/08/28
- [Commit-gnuradio] [gnuradio] 04/20: grc: clean-up ActionHandler.py imports, git, 2015/08/28
- [Commit-gnuradio] [gnuradio] 14/20: Merge remote-tracking branch 'estatz/qtgui_trigger_callbacks', git, 2015/08/28
- [Commit-gnuradio] [gnuradio] 13/20: grc: super-secret, git, 2015/08/28
- [Commit-gnuradio] [gnuradio] 10/20: grc: show cmdline when xterm is used,
git <=
- [Commit-gnuradio] [gnuradio] 12/20: qtgui: Modified the qproperties to scale the colorbar title from the .qss file, git, 2015/08/28
- [Commit-gnuradio] [gnuradio] 18/20: Merge remote-tracking branch 'sdh11/complexity', git, 2015/08/28
- [Commit-gnuradio] [gnuradio] 15/20: Merge remote-tracking branch 'tom/docs/sphinx_update', git, 2015/08/28
- [Commit-gnuradio] [gnuradio] 03/20: grc: have cmake find a xterm executable on UNIX, git, 2015/08/28
- [Commit-gnuradio] [gnuradio] 08/20: whitespace fixes and some minor adjustments for building the Python manual., git, 2015/08/28
- [Commit-gnuradio] [gnuradio] 09/20: docs: Reviving Python manual., git, 2015/08/28