hello guys, how can i create a start button that launches my main.cpp when pressed, and if it's pressed again, it resets everything and launches again.

any idea?