
#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 pgj): As far as I know, on FreeBSD, the recommended method for changing the value of `argv[0]` is calling the [https://www.freebsd.org/cgi/man.cgi?query=setproctitle&sektion=3 setproctitle(3)] function. I am not sure if rest of `argv` could be changed safely. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9143#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler