[comp.sys.amiga.tech] Lattice forkv

ggk@tirith.UUCP (Gregory Kritsch) (12/02/20)

G'day all.

I'm having a small problem with Lattice's forkv() function, and am
wondering if anyone else has experienced anything similar.

Here's what happens:  The user runs program A, which does a forkv() to
program B.  No problem - B loads just fine.  It then tries to do a
forkv() to "sendmail" (and yes, I have the argv[] set up correctly, and
sendmail is in my C: directory).  This forkv fails, Lattice's errno is 2
(No such file or directory == generic error number), with _oserr = 0
(normally the result from IoErr()).

Doing a forkv() to c:sendmail works just fine, which is the annoying
part.

Anyone have any experience with this, or ideas whats wrong, or a fix?  I
haven't yet reported it to Lattice.

I'm working with 5.04 I think (SAS/C 5.10 at Christmas, maybe).
--
  Gregory Kritsch                          | University of Waterloo
    Fido:  1:221/208.11110  [1:163/109.30] | 1A Computer Engineering
    OCUG:  ggk@tirith.ocug.on.ca           |----------------------------
    UUCP:  ggk@tirith.UUCP                 | The University doesn't get
           ...!watmath!xenitec!tirith!ggk  | a chance to censor me!