System.system broken?

Simon Marlow simonmar@microsoft.com
Wed, 17 Jul 2002 10:06:00 +0100


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

I haven't seen any problems with System.system here (the compiler uses
it quite extensively for one).

Which flavour of Linux are you on, and do you have a test program we can
use to reproduce it?

Cheers,
	Simon