<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def restart():
 """Restart the application the same way it was started :returns: None :rtype: None :raises: SystemExit """

    python = sys.executable
    os.execl(python, python, * sys.argv)