Revision c6e7eaf0 mininet/node.py

View differences:

mininet/node.py
160 160
        assert not self.waiting
161 161
        if isinstance( cmd, list ):
162 162
            cmd = ' '.join( cmd )
163
        if cmd[ -1 ] == '&':
163
        if len( cmd ) > 0 and cmd[ -1 ] == '&':
164 164
            separator = '&'
165 165
            cmd = cmd[ :-1 ]
166 166
        else:

Also available in: Unified diff