From: Christian Mauderer <christian.maude...@embedded-brains.de> If the --show-commands is set, the cmd-string is joined for printing. This breaks a later Popen call that expects an array instead of an fully assembled string. This patch fixes the problem. --- rtems.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rtems.py b/rtems.py index 3c0c976..b2e3285 100644 --- a/rtems.py +++ b/rtems.py @@ -571,8 +571,8 @@ def output_command_line(): if isinstance(cmd, str): Logs.info('%s' % cmd) else: - cmd = ' '.join(cmd) - Logs.info('(%d) %s' % (len(cmd), cmd)) # here is the change + cmdstr = ' '.join(cmd) + Logs.info('(%d) %s' % (len(cmdstr), cmdstr)) # here is the change Logs.debug('runner_env: kw=%s' % kw) try: if self.logger: -- 1.8.4.5 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel