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
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to