What does the operating system do when you click the software icon until it runs successfully?

the subject uses Mac. I wonder what kind of process the system background is when a software is opened. In addition, why the window can be opened in the same place on the desktop after some software is closed and restarted, and can retain the window size of the last time it was closed.

Mar.18,2021

know more about programming?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea005b-5c8bd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea005b-5c8bd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?