Opened 8 years ago
#383 new defect
spawnvpe() fails to execute a script because of EACCES
| Reported by: | KO Myung-Hun | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | new |
| Component: | libc-backend | Version: | 0.6.6 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Hi/2.
If a directory with the same name as a interpreter of a script exists in a current directory, spawnvpe() fails to execute the script because of EACCES.
Testcase is:
- https://github.com/komh/klibctest/blob/master/process/spawn-5.c
- https://github.com/komh/klibctest/blob/master/process/spawn-5.pl
In this case, spawn-5.exe cannot execute spawn-5.pl.
Attachments (1)
Note:
See TracTickets
for help on using tickets.

Patch for spawnve()