Function qt.qApp:restart(bool) reinitializes and restarts the Lua interpreter. When the optional flag bool is true, the command line arguments passed to the program qlua are re-executed.