SabreTools / MPF

Redumper/Aaru/DiscImageCreator GUI in C#
GNU General Public License v3.0
437 stars 34 forks source link

[Problem] MPF.CLI Linux 64-bit -lc, -lm, -ls, -lp do not exit #753

Closed Barthax closed 1 month ago

Barthax commented 1 month ago

Version

Build What runtime version are you using?

Describe the issue Running any of the List command lines options in MPF.CLI and the program continues running without exiting.

To Reproduce Steps to reproduce the behavior:

  1. MPF.CLI -lc
  2. It keeps on running.

Expected behavior Program exits.

mnadareski commented 1 month ago

I'm going to assume you're seeing that it's waiting for any user input. This was originally done in order to make it easier for users to catch the whole list, but I guess now that people are actually using these programs, it may look more confusing. The two options I have are ensuring that a message is shown such as "Press Enter to continue" or just remove the wait for entry entirely. I am going to go with the latter since this could interfere with output redirection.

mnadareski commented 1 month ago

Fixed by https://github.com/SabreTools/MPF/commit/51733557cd15101f09a77b120ff158231b5fcd20