If I create a command in cmd (example PrestashopIO.exe promotions) the function that is called duplicates a promotion, but if i run the same thing but from visual studio it