racket / drracket

DrRacket, IDE for Racket
http://www.racket-lang.org/
Other
445 stars 93 forks source link

Files specified on the command line are not found with relative path #549

Open maueroats opened 2 years ago

maueroats commented 2 years ago

DrRacket 8.4 (CS) OS: Linux

To reproduce:

  1. Create exist.rkt in the current directory.
    #lang racket 
    (displayln "OK")
  2. Verify that it runs fine racket exist.rkt prints OK.
  3. Run DrRacket from the command line: drracket exist.rkt.
  4. Dialog pops up "Cannot open exist.rkt because it does not exist." <-- PROBLEM BEHAVIOR
  5. Running with a full path finds the file. drracket $PWD/exist.rkt (or whatever your shell wants).

This seems like an obvious problem that should have been reported already, but I could not find it when searching the open issues.

jbclements commented 2 years ago

FWIW, I don't see this behavior on macOS 11.6. But yes, I can confirm it on a debian 10.11 machine.