
On Tue, Nov 30, 2010 at 9:24 AM, Ryan Ingram
On Mon, Nov 29, 2010 at 12:36 AM, Simon Peyton-Jones
wrote: Do you have an alternative to suggest? After all, the previous situation wasn't good either.
I suggest that we should be able to specify RTS options at compile/link time, or as pragmas in the Main module.
-- ryan
What's feasible to write now, and almost better (but lacking toolchain/library support) is writing two executables. The first takes command line options, decides what to do based on them, and then passes control to the second, with flags set only as appropriate. Doing this cleanly is OS dependent, and tied to System.Process, daemonizing-type techniques, and all that. Such a library, possibly implemented as a nontrivial extension (or borrowing code from) the excellent-looking hdaemonize package, would be very welcome! Cheers, Sterl.