[Fwd: bug in argument processing in hsc2hs]

Antony Courtney antony at aya.yale.edu
Sun Jan 9 23:06:52 EST 2005


Thanks very much for fixing this, Simon.

I will try and build hsjni either against HEAD orthe next release and 
let you know how it goes.

Kind Regards,

	-Antony

Simon Marlow wrote:
> On 19 December 2004 16:35, Sven Panne wrote:
> 
> 
>>Antony Courtney wrote:
>>
>>>I'm trying to upgrade my Java/Haskell interoperability framework to
>>>the latest Java version.  Unfortunately, however, it appears that
>>>hsc2hs can't deal with embedded spaces in command line
>>>arguments.[...] 
>>
>>Both of your problems look like the usual problems with the broken
>>"system" function used within hsc2hs. One should really use
>>"rawSystem" instead to avoid the problems with spaces and quotation.
>>But I don't have the time to figure out how to do this correctly,
>>keeping the backward compatibility with older GHC version. SimonM?
> 
> 
> I've now fixed hsc2hs to use rawSystem.  There will be side effects: if
> you rely on the extra layer of quoting interpretation then your command
> lines will have to change.
> 
> Cheers,
> 	Simon


-- 
Antony Courtney            email: antony at aya.yale.edu
New York, NY                 WWW: http://www.apocalypse.org/~antony



More information about the Glasgow-haskell-bugs mailing list