To answer my own question and avast@advantage77.com, click on the “Antivirus” text on the left, scroll down until you see “Exclusions”. Under file paths you should see the exclusions you have made.

My exclusion has now appeared. Running the program from the command line seems to work without Avast removing the file.