#7029: Add System.Environment.getExecutablePath
---------------------------------+------------------------------------------
Reporter: tibbe | Owner:
Type: feature request | Status: patch
Priority: normal | Milestone: 7.6.1
Component: libraries/base | Version: 7.4.2
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by pcapriotti):
Ah, I was just thinking to fall back to `argv[0]` when `readlink` returns
`ENOENT`, or even possibly when `readlink` fails for any reason.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7029#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs