OT: broken/useless ansi - console driver??
Kenneth Brody
kenbrody at bestweb.net
Mon Oct 24 12:39:31 PDT 2005
Quoting John Esak (Mon, 24 Oct 2005 15:19:32 -0400):
> > Now, if only system() would run /bin/sh rather than the incompatible
> > /u95/bin/sh instead. (Regardless of the SHELL setting.)
>
> Ah, another strange thing, huh? I assume you mean system() as you wrot
> ethat and not fork()? I would assume that fork() would not involve the
> shell at all, right, or does it screw up, too?
fork() does not invoke a shell, unless you pass it the shell as the
command to execute.
> Incidentally, when we (as programmers in filePro) put a SYSTEM command
> together, are you saying you use system() in some fashion to accomplish
> it. Do you create a little script to run? If so, do you put the
> hash-pling/bin/sh a the top to force it to /bin/sh?
The SYSTEM command in filePro eventually (on *nix) calls system() to
execute the command. It does not write a shell script first.
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list