statamic / cli

Install and manage your Statamic projects from the command line.
71 stars 19 forks source link

exec statamic new $sitename fails if any element of the path contains a space on OSX #63

Closed davemee closed 8 months ago

davemee commented 9 months ago

The working directory is /Users/davem/Documents/Project Notes/Dave/thesitenamehere/source

Could not open input file: /Users/davem/Documents/Project

In NewCommand.php line 501:

  There was a problem installing Statamic!  

new [--dev] [--license [LICENSE]] [--local] [--with-config] [--without-dependencies] [-f|--force] [--] <name> [<starter-kit>]

Script statamic handling the __exec_command event returned with error code 1
jasonvarga commented 9 months ago

Seems fine to me. What version of MacOS and Statamic CLI do you have?

(I've also moved this to the cli repo)

jasonvarga commented 8 months ago

Closing for inactivity.