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:
+1
-1
@@ -41,7 +41,7 @@ def makeTerm( node, title='Node', term='xterm', display=None ):
|
|||||||
title: base title
|
title: base title
|
||||||
term: 'xterm' or 'gterm'
|
term: 'xterm' or 'gterm'
|
||||||
returns: two Popen objects, tunnel and terminal"""
|
returns: two Popen objects, tunnel and terminal"""
|
||||||
title += ': ' + node.name
|
title = '"%s: %s"' % ( title, node.name )
|
||||||
if not node.inNamespace:
|
if not node.inNamespace:
|
||||||
title += ' (root)'
|
title += ' (root)'
|
||||||
cmds = {
|
cmds = {
|
||||||
|
|||||||
Reference in New Issue
Block a user