Hello,
runhugs does not accept any command line arguments (version 970410).
While many Hugs options do not make sense with runhugs, some do.
I am especially missing `-Ppath' for setting the search path. A
standalone Haskell program executed by runhugs may consist of several
modules which runhugs needs to find. If you use the Unix sticky bit, it
does not even help to put all imported modules in the same directory as
the Main module, since during the excution of a program with sticky bit
the current working directory is not the directory of the Main module.
Currently I write a little shell script which sets the environment
variable HUGSFLAGS (which is taken into account by runhugs) for every
standalone Haskell program.
Also the `set heap size option' could probably be useful for runhugs.
Olaf
--
OLAF CHITIL, Lehrstuhl fuer Informatik II, RWTH Aachen, 52056 Aachen,
Germany
Tel: (+49/0)241/80-21212; Fax: (+49/0)241/8888-217
URL: http://www-i2.informatik.rwth-aachen.de/~chitil/