Was this specifically on Mac/Linux? I’ve been using this for several days now on Windows, and haven’t had any issues so far. That being said, I have just “php” as php path in the settings,  using the environment variable (maybe that should be recommended for everyone using Windows?). I’m not entirely sure if it’ll still work if I type out the full path. Will try that later today.

 

From: Gaurav Narula [mailto:notifications@github.com] 
Sent: donderdag 20 juni 2013 12:10
To: gnarula/sublime-laravelgenerator
Cc: bastiaan89
Subject: Re: [sublime-laravelgenerator] Solving many bugs when using artisan (#28)

 

In generate.py:

> @@ -79,13 +79,13 @@ def run(self, *args, **kwargs):
>      def call_artisan(self, command):
>          try:
>              self.PROJECT_PATH = self.window.folders()[0]
> -            self.args = '%s %s %s' % (self.php_path, os.path.join(self.PROJECT_PATH, 'artisan'), command)
> +            self.args = [self.php_path, os.path.join(self.PROJECT_PATH, 'artisan')] + command.split(' ')

I had it as a list before but ran into some issues with the slashes iirc.

—
Reply to this email directly or view it on GitHub <https://github.com/gnarula/sublime-laravelgenerator/pull/28/files#r4793402> .  <https://github.com/notifications/beacon/sX7muZ4PvMTIJ_5u7CL9xesEsJinvgwKmUXu0nNadYEn3GwovNiQ7--iswTECF5i.gif>