I want the code to be compiled at the same time and at the same time the music was playing. when you enter:
g++ *.cpp && ./a.out && apply test.mp3
The code is compiled and until the program ends the music does not turn on.
apply test.mp3 && g++ *.cpp && ./a.out
in this situation, it will not finish the track or press ctrl + c the code will not compile
apply test.mp3 &
. The music will play and the console will be free. can compile. A more beautiful tool is to use screen or tmux. - KoVadim