Ask a Question related to UNIX Programming, Design and Development.
-
David Schwartz #1
Re: execv()
"Sam" <sam@sam.com> wrote in message
news:MZjNa.48264$nu3.41538@news.primus.ca...
Get a copy of any good book on UNIX programming. Read the section on> I'm wodering how to send email without system(). Can't figure out the way
> passing
> char *msgbody to /bin/mail in execv() in a linux box. any way to do it or
> have to use other command. My boss thinks system() is no good, btw.
using pipes in conjunction with fork/exec. You can probably get away with
using 'popen'.
Comments like "system() is no good" are meaningless. Without citing a
specific problem or type of problem, he could mean that 'system()' is no
good for frying eggs.
DS
David Schwartz Guest
-
execv() terminates a program
I have a program that uses threads (Linux, pthread 0.10). One thread asks to another one, called "Forker", to execute an application, given by a... -
Fritz M #2
Re: execv()
"David Schwartz" <davids@webmaster.com> wrote:
He might be concerned about potential security problems. system()> Comments like "system() is no good" are meaningless.
invokes the shell.
RFM
--
To reply, translate domain from l33+ 2p33|< to alpha.
4=a 0=o 3=e +=t
Fritz M Guest
-
Villy Kruse #3
Re: execv()
On Tue, 8 Jul 2003 15:33:48 +0000 (UTC),
Fritz M <news@m4s0n3r.n3+> wrote:
So he should have explained that. Most of us have lost the ability to>"David Schwartz" <davids@webmaster.com> wrote:
>>>> Comments like "system() is no good" are meaningless.
>He might be concerned about potential security problems. system()
>invokes the shell.
>
mind read long time ago.
Villy
Villy Kruse Guest



Reply With Quote

