
Check this out: http://stackoverflow.com/questions/6818031/use-shebang-hashbang-in-windows-c... hth, L. On Mon, Apr 16, 2012 at 06:23:57PM +0000, Vinay Sajip wrote:
I've been given a set of .hs files which contain the shebang line
#!/usr/bin/env runhaskell
and I would like them to work on Windows, but none of the Windows binaries seem to be able to process them without a
:1:1: parse error on input `#!' These files came from a Linux machine, where they run without trouble. Is there any way I can get the Windows executables to run these files? I asked on IRC and it was suggested that I change the files to literate Haskell, but I'd rather have some way of having cross-platform operation which does not involve making changes to the scripts themselves. Is there something that can be done e.g. by using particular command line options or configuration settings?
Thanks & regards,
Vinay Sajip
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
-- Lorenzo Bolla http://lbolla.info