[GHC] #7654: Cannot specify argv[0] with createProcess

GHC cvs-ghc at haskell.org
Mon Feb 4 15:23:16 CET 2013


#7654: Cannot specify argv[0] with createProcess
----------------------------------+-----------------------------------------
    Reporter:  MtnViewMark        |       Owner:  MtnViewMark     
        Type:  feature request    |      Status:  infoneeded      
    Priority:  normal             |   Milestone:                  
   Component:  libraries/process  |     Version:  7.6.2           
    Keywords:  process            |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple   |     Failure:  None/Unknown    
  Difficulty:  Unknown            |    Testcase:                  
   Blockedby:                     |    Blocking:                  
     Related:                     |  
----------------------------------+-----------------------------------------

Comment(by simonmar):

 Is it possible to do this without breaking the API too much?  I have in
 mind adding a new field to `CreateProcess`:

 {{{
 data CreateProcess = CreateProcess {
   ...
   argv0  :: Maybe String
   }
 }}}

 and leave the rest of the public API as it is.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7654#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list