Closed sean64 closed 1 year ago
Quick fix based on your existing code. When you get the chance to review.
--- a/src/Common.ts +++ b/src/Common.ts @@ -93,7 +93,11 @@ export default class Common { if (dockerEnabled) { command = `php artisan ${command}` - cmd = `cd ${artisanRoot} && ${dockerCommand} ${command}` + cmd = process.platform == 'win32' ? + // Windows command + `cd /d "${artisanRoot}" && ${dockerCommand} ${command}` : + // Unix command + `cd ${artisanRoot} && ${dockerCommand} ${command}`; } else { command = `"${phpLocation}" artisan ${command}` cmd = process.platform == 'win32' ?
Stale issue message
Quick fix based on your existing code. When you get the chance to review.