You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command formed by line 20 of LauncherContainer.php seems to be causing issues on Windows.
C:\Users\lal65\Sites\wcprospect8-dev>drupal site:install 'C:\Users\lal65\Sites\wcprospect8-dev/vendor/drupal/console/bin/drupal' is not recognized as an internal or external command, operable program or batch file.
Wouldn't it make sense to use DIRECTORY_SEPARATOR instead of '/' as in below?
Actually, after some debugging this may not be the issue.
Adding a 'drupal.bat' file to the drupal/console bin directory seemed to alleviate the problem. Would this be an issue for the drupal/console project and not the launcher?
./vendor/drupal/console/bin/drupal.bat below (added) @echo off php "%~dp0/drupal.php" %*
The command formed by line 20 of LauncherContainer.php seems to be causing issues on Windows.
C:\Users\lal65\Sites\wcprospect8-dev>drupal site:install
'C:\Users\lal65\Sites\wcprospect8-dev/vendor/drupal/console/bin/drupal' is not recognized as an internal or external command, operable program or batch file.
Wouldn't it make sense to use DIRECTORY_SEPARATOR instead of '/' as in below?
$command = sprintf( '%s'.DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'drupal'.DIRECTORY_SEPARATOR.'console'.DIRECTORY_SEPARATOR.'bin'.DIRECTORY_SEPARATOR.'drupal --root=%s %s', $options['root'], $options['root'], $this->parseArguments() );
The text was updated successfully, but these errors were encountered: