[Haskell-cafe] GHC RTS question

Daniel Fischer daniel.is.fischer at web.de
Sun Feb 21 11:13:25 EST 2010


Am Sonntag 21 Februar 2010 16:45:22 schrieb Artyom Kazak:
> Hello everybody!
> I want to write a little program, that will receive a string as
> command-line argument and write it in the file. But if this string
> contains '+RTS', GHC runtime won't pass the rest of the string to my
> program.
> What can I do to avoid this?

Enclose it in double quotes (perhaps single quotes would also work)

$ ./proggy "argwith +RTS in" harmlessArg otherHarmlessArg


More information about the Haskell-Cafe mailing list