[GHC] #9143: feature request: way to set actual program argv
GHC
ghc-devs at haskell.org
Wed Aug 12 14:11:50 UTC 2015
#9143: feature request: way to set actual program argv
-------------------------------------+-------------------------------------
Reporter: joeyhess | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Runtime System | Version: 7.8.2
Resolution: | Keywords:
Operating System: Linux | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by bgamari):
The cross-platform implications really worry me here. For instance, it's
recommended that you do not modify `argv` at all on
[[http://stackoverflow.com/questions/29158052/changing-argv0-with-
winapi|Windows]]. Do we know that this is really safe (or will even
accomplish the desired effect) on all of the platforms that GHC supports
(FreeBSD, OpenBSD, Darwin, Linux, Solaris, and Windows, where it is not)?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9143#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list