|
2001-04-05
| ||
| 08:20 | • Ticket [217810ffff] auto_execok fails to deal with spaces in PATH directories co... artifact: 7646ab5629 user: dgp | |
|
2000-10-26
| ||
| 07:49 | • Closed ticket [217810ffff]. artifact: 56c1d34677 user: welch | |
| 00:43 | • New ticket [217810ffff]. artifact: d8a9ee34e0 user: nobody | |
auto_execok fails to deal with spaces in PATH directories co
Closed / Duplicate217810ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:43:59
OriginalBugID: 1291 Bug
Version: 8.0.5
SubmitDate: '1999-02-24'
LastModified: '1999-08-07'
Severity: SER
Status: Closed
Submitter: welch
ChangedBy: hobbs
RelatedBugIDs: 1261 1276
OS: All
OSVersion: NA
Machine: NA
FixedDate: '2000-10-25'
FixedInVersion: NA
ClosedDate: '1999-08-07'
Two related problems.
On UNIX, create a directory named "/something/has space/bin"
puts an executable file in there, say "prog"
Add that directory to your env(PATH).
Now do
auto_execok prog
the result is
{/soemthing/has space/bin/prog}
the bug is there is an extra level of listing being done.
Second issue.
On Windows, with "c:/program files/mumble" on your path, and you do
auto_execok prog
and "c:/program files/mumble/prog.exe" exists, auto_execok fails to find it.
In contrast, if "c:/nospace/mumble" is on your path, then auto_execok will find
the corresponding .exe file.
welch Closed ticket [217810ffff].
[History diff]2000-10-26 07:49:19
dgp Ticket [217810ffff]: 3 changes
[History diff]2001-04-05 08:20:15
Log in (anonymous is fine) to add a comment.