Implement the RTS side of GHC.Environment.getFullArgs
[ghc-hetmet.git] / rts / RtsStartup.c
index 7dce06e..a363c13 100644 (file)
@@ -199,6 +199,7 @@ hs_init(int *argc, char **argv[])
 
     /* Parse the flags, separating the RTS flags from the programs args */
     if (argc != NULL && argv != NULL) {
+       setFullProgArgv(*argc,*argv);
        setupRtsFlags(argc, *argv, &rts_argc, rts_argv);
        setProgArgv(*argc,*argv);
     }