System.system broken?

Volker Stolz stolz@i2.informatik.rwth-aachen.de
Wed, 17 Jul 2002 10:35:26 +0200


In local.glasgow-haskell-users, you wrote:
> is System.system broken in 5.04? i am using the rpm provided on the web
> site and this call appears to be broken. in particular, using strace i
> find that it is attempting the following call
> 
> [pid 16975] execve("n/sh", ["/bin/sh", "-c", "echo foo"], [/* 67 vars */]) = -1 ENOENT (No such file or directory)
> 
> note that it appears the first three characters are being droped from
> the first argument to execve.

I don't know about that particular binary package, but my CVS copy works
fine: execve("/bin/sh", ["sh", "-c", "echo foo"], [/* 79 vars */]) = 0
-- 
http://news.bbc.co.uk: `Israeli forces [...], declaring curfews that
confine more than 700,000 people to their homes.'