exaile
exaile copied to clipboard
Windows: How to start Exaile without detaching from console?
I tried running Exaile from console on Windows, but it detaches immediately. This seems wrong.
Steps to Reproduce (for bugs)
- open
cmd.exe cdto Exaile installation dir (e.g.C:\Program Files (x86)\Exaile)- run
exaile.exe --help - watch output
Expected Behavior
Output of --help, i.e. usage and command line parameters
Current Behavior
Just an empty line. Exaile immediately detaches from command line on many different options. This includes exaile.exe too.
Possible Solution
Do not detach if running on console.
Environment
- Operating System and version: Windows 10
- Exaile Version: 4.0.0-beta1 from official installer
On a non-pyinstaller version of Exaile, we launch via exaile_win.bat, which checks to see if you specified any arguments or not. If you do, then it launches via python.exe (which does not detach), and if you don't then it launches via pythonw.exe (which does detach).
I don't really see a simple way around this when using pyinstaller, unless pyinstaller supports something like this natively. Open to suggestions, however.