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

command line params not available on windows #271

Open
maurizioandreotti opened this issue Nov 7, 2023 · 1 comment
Open

command line params not available on windows #271

maurizioandreotti opened this issue Nov 7, 2023 · 1 comment
Labels
bug Something isn't working Microsoft Windows Affects Microsoft Windows Reproduced An reported issue was reproduced

Comments

@maurizioandreotti
Copy link
Contributor

maurizioandreotti commented Nov 7, 2023

Running PR268 (maybe also other versions) on windows has the effect of terminating immediately D-Rats:
image
while the same works on macOs:

(d-rats4) maurizio@Mao-MacbookAir D-Rats-PR-268 % ./d-rats.py --help
INFO:MacOSXPlatform:Forcing DISPLAY for MacOS
INFO:QST:FeedParser not available
INFO:Spelling:Demand-opening aspell...
INFO:Spelling:Tested spelling okay: ['spelling,', 'spelino,', 'peeling,', 'soling,', 'spring,', 'sterling,', 'spline,', 'feeling']
usage: d-rats.py [-h] [-c CONFIG] [--loglevel LOGLEVEL] [-p] [-s] [-v]
                 [--sdebug]

DRATS

options:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        Use alternate configuration directory (default:
                        /Users/maurizio/.d-rats-ev)
  --loglevel LOGLEVEL   LOGLEVEL TO TEST WITH (default: INFO)
  -p, --profile         Enable profiling (default: False)
  -s, --safe            Safe mode (ignore configuration) (default: False)
  -v, --version         Show version. (default: False)
  --sdebug              Log serial port data. (default: False)
(d-rats4) maurizio@Mao-MacbookAir D-Rats-PR-268 % 
@wb8tyw wb8tyw added bug Something isn't working Microsoft Windows Affects Microsoft Windows Reproduced An reported issue was reproduced labels Nov 7, 2023
@wb8tyw
Copy link
Contributor

wb8tyw commented Nov 7, 2023

The --sdebug option works. The --help and --version options do not work on msys2 mingw64.
I have not tried the other options yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Microsoft Windows Affects Microsoft Windows Reproduced An reported issue was reproduced
Projects
None yet
Development

No branches or pull requests

2 participants