added wait to sublime command line call