Wpf app instantly opens an process before its even initialized
i have a question ,so i have an app that by pressing a button it closes and opens a console project,that after 20-30 s closes itself,the thing is that the first time i use it ,works but the next time, it opens instantly the console project , and i have no idea why.

