wrap the title string in quotes so that bash interprets it correctly

This commit is contained in:
cody burkard
2014-11-07 01:11:40 -08:00
parent 820c3be7df
commit 3660e6d02f
+1 -1
View File
@@ -41,7 +41,7 @@ def makeTerm( node, title='Node', term='xterm', display=None ):
title: base title
term: 'xterm' or 'gterm'
returns: two Popen objects, tunnel and terminal"""
title += ': ' + node.name
title = '"%s: %s"' % ( title, node.name )
if not node.inNamespace:
title += ' (root)'
cmds = {