Composer command opens new window cmd

0

In the console of windows 7, every time I execute a command in the console, a new window is opened to execute it and when giving the corresponding result it closes automatically.

Example:

composer search paquete

A new window opens but I can not see the packages found since the window closes without giving me a chance to see the results. It also happens with the commands of artisan (laravel).

Possibly the solution is simple but I can not solve it.

    
asked by Jesus Pacheco 04.02.2018 в 18:46
source

1 answer

0

You can redirect the output to a file.

composer search paquete >> busqueda.txt
    
answered by 05.02.2018 в 14:19