logo       

RE: [Fwd: bug in argument processing in hsc2hs]: msg#00011

lang.haskell.glasgow.bugs

Subject: RE: [Fwd: bug in argument processing in hsc2hs]

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise