'Start a shell process for running commands'

def startShell(self, *args, **kwargs):

    if self.isRemote:
        kwargs.update(mnopts='-c')
    super(RemoteMixin, self).startShell(*args, **kwargs)
    self.sendCmd('echo    $$')
    if (not self.splitInit):
        self.finishInit()
