       console.log "already got", gist.id
       # we want to be able to pull recently modified gists
       cmd = "cd #{userfolder}/#{gist.id}; git pull origin master"
+      cmd = winshellCheck(cmd)
       shell.exec cmd, (code, huh, message) ->
         if code or message
           console.log gist.id, user, code, message


base = __dirname + "/data/gists-clones/"
timeouts = []

done = (err, pruned) ->
  console.log "done writing files"

request = require 'request'
path = require 'path'
shell = require 'shelljs'
os = require 'os'

# we will log our progress in ES
elasticsearch = require('elasticsearch')
