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

  • you can start music in the background - 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
  • @KoVadim well, do not answer in the comments: ( - D-side
  • just for me, this is not an answer, but a comment. - KoVadim
  • @KoVadim writes to me "usage: apply [-a magic] [-d] [-0123456789] command arguments ...", which ones does he still want from me? - Volodymyr Samoilenko
  • Who knows. Although this is a poppy, and there everyone can fuck up. Google does not know about this player, therefore, I can not say anything. - KoVadim

0