Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the purpose of the 5 second countdown? #32

Open
jsdpag opened this issue Jun 24, 2022 · 1 comment
Open

What is the purpose of the 5 second countdown? #32

jsdpag opened this issue Jun 24, 2022 · 1 comment

Comments

@jsdpag
Copy link
Contributor

jsdpag commented Jun 24, 2022

Dear ARCADEians,

I'm a bit puzzled as to why runCore.m has a countdown in the shutdown sequence:

logmessage('Closing MATLAB in 5 s. Press CTRL+C to cancel or see log files');
for seconds = 5:-1:0
fprintf('%g', seconds)
pause(1)
fprintf('\b')
end

Is this necessary to prevent some kind of crash? Or is it meant to be a user-friendly feature?

Best,
Jackson

@joschaschmiedt
Copy link
Collaborator

If I remember correctly it was introduced to give users time to read the contents of the command window, in particular potential errors, warnings and output folders. No technical reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants