I am trying to do some automation with batch file to perform installing of laravel and then continue with moving files & folder.
My batch file looks something like this:
@echo off
echo Installing laravel...
composer create-project laravel/laravel system --prefer-dist
echo Laravel installing is done... Now moving files and folder...
......
The problem is as soon as the composer
finish installing laravel, it exit the batch file.
How can I get the process going after the composer
task is done?
I could bet that the installer is a composer.bat
Batch file! If so, execute it via call
command:
@echo off
echo Installing laravel...
call composer create-project laravel/laravel system --prefer-dist
echo Laravel installing is done... Now moving files and folder...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With