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

Running CLI commands should not launch the GUI by default #2179

Open
MattSturgeon opened this issue Oct 16, 2024 · 0 comments
Open

Running CLI commands should not launch the GUI by default #2179

MattSturgeon opened this issue Oct 16, 2024 · 0 comments
Labels
area-cli meta-improvement An issue that improves an existing feature os-linux This affects Linux related code. priority-low A low priority task. User Raised

Comments

@MattSturgeon
Copy link

MattSturgeon commented Oct 16, 2024

Bug Report

Summary

When running CLI commands such as NexusMods.App --help, the GUI is opened as a side-effect.

Steps to reproduce

  1. Ensure the app is not running
  2. Using a terminal, run NexusMods.App --help
  3. Observe the app launches, opening a GUI

What is the expected behaviour?

I would expect CLI commands to not open a GUI, unless intended by the specific command.

Further, I would expect the app not to "fully" launch and/or remain open when ran as a CLI if the app isn't currently running in another process.

Other information

Outdated

I'm not sure which log file is correct, as I ran into unrelated errors in subsequent runs, but here's my entire logs directory:

Logs.zip

IIRC, the one of the first runs was used to "manage" Cyberpunk.

I then tried using --help a few times and also ran without arguments a few times.

Eventually I started seeing database lock errors which aren't related to this issue.

nexusmods.app.main.current.log
nexusmods.app.slim.current.log

@Pickysaurus Pickysaurus added meta-improvement An issue that improves an existing feature priority-low A low priority task. os-linux This affects Linux related code. area-cli User Raised labels Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-cli meta-improvement An issue that improves an existing feature os-linux This affects Linux related code. priority-low A low priority task. User Raised
Projects
None yet
Development

No branches or pull requests

2 participants