Files specified on the command line are not found with relative path
Open
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 516
- Forks
- 103
- PR merge metrics
- No merged PRs in 30d
Description
DrRacket 8.4 (CS)
OS: Linux
To reproduce:
- Create
exist.rktin the current directory.
#lang racket
(displayln "OK")
- Verify that it runs fine
racket exist.rktprints OK. - Run DrRacket from the command line:
drracket exist.rkt. - Dialog pops up "Cannot open exist.rkt because it does not exist." <-- PROBLEM BEHAVIOR
- 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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Linux with a local exist.rkt file by running drracket exist.rkt, then compare it with drracket using the full path. Trace how DrRacket handles command-line file arguments; done means a relative path from the current directory opens successfully without the dialog reporting that the file does not exist.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100