Merge pull request #718 from scopatz/nohup

lstrip before $[$[ check
This commit is contained in:
adam j hartz 2016-03-03 14:21:12 -05:00
commit d3795eaeac

View file

@ -189,7 +189,7 @@ class Execer(object):
returnline=True,
maxcol=maxcol,
lexer=self.parser.lexer)
if sbpline.startswith('$[$['):
if sbpline.lstrip().startswith('$[$['):
# if we have already wrapped this in subproc tokens
# and it still doesn't work, adding more won't help
# anything