[news.software.nntp] Xenix troubles execing a shell script.

nelson@sun.soe.clarkson.edu (Russ Nelson) (09/25/90)

Hi.  Has anyone else running SCO Xenix 2.3.2 had trouble with `spawn.c:spawn's
attempt to execute a shell script?  It gives me a "Exec format error"
error.  I've gotten it to work by doing:
	execle("/bin/sh", "sh", path, flag, (char *) NULL, myenviron);
instead of the current:
	execle(path, name, flag, (char *) NULL, myenviron);

Is this a problem in spawn.c:spawn, or have I misconfigured something?

--
--russ (nelson@clutx [.bitnet | .clarkson.edu])  Russ.Nelson@$315.268.6667
It's better to get mugged than to live a life of fear -- Freeman Dyson

sob@tmc.edu (Stan Barber) (09/26/90)

It is a bug with NNTP 1.5.10. It will be corrected in the next release.
-- 
Stan           internet: sob@bcm.tmc.edu         Director, Networking 
Olan           uucp: {rutgers,mailrus}!bcm!sob   and Systems Support
Barber         Opinions expressed are only mine. Baylor College of Medicine