Running CLI commands should not launch the GUI by default #2179
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
Bug Report
Summary
When running CLI commands such as
NexusMods.App --help
, the GUI is opened as a side-effect.Steps to reproduce
NexusMods.App --help
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
The text was updated successfully, but these errors were encountered: