tags 790675 - unreproducible thanks Hi epros
I've investigated this again and I see that indeed in the very first run, TeXstudio replaces the asy command with the pdflatex command: Process started: pdflatex -synctex=1 -interaction=nonstopmode "test".tex Process exited normally Process started: pdflatex -synctex=1 -interaction=nonstopmode "test".tex Process exited normally Process started: pdflatex -synctex=1 -interaction=nonstopmode "test".tex Process exited normally While in any subsequent run, everything gets executed as expected: Process started: pdflatex -synctex=1 -interaction=nonstopmode "test".tex Process exited normally Process started: asy test-1.asy Process exited normally Process started: pdflatex -synctex=1 -interaction=nonstopmode "test".tex Process exited normally I've filed an upstream bug. Cheers Tom