code: def runGlob(self, path, **kwargs):
          
          def commandComplete(cmd):
              return cmd.updates['files'][-1]
  
          return self.runRemoteCommand('glob', {'path': path,
                                                'logEnviron': self.logEnviron, },
                                       evaluateCommand=commandComplete, **kwargs)
docs: find files matching a shell-style pattern