Merge pull request #434 from cdburkard/patches/cluster_x11

wrap the title string in quotes so that bash interprets it correctly
This commit is contained in:
lantz
2014-11-10 14:12:39 -08:00
+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 = {