[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] C question

My mythlogin program does some forking. See http://jrfom.com/code/

On Friday, April 5, 2013, Geoffrey Myers wrote:

> So, shaking some cobwebs loose here. How do I replace the following:
> system("echo stuff | somebinary arg1 arg2");
> With a fork/exec ??
> (Digging out my old C books....)
> --
> From my iPhone
> Geoffrey Myers
> _______________________________________________
> Ale mailing list
> Ale at ale.org <javascript:;>
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo

James Sumners

"All governments suffer a recurring problem: Power attracts pathological
personalities. It is not that power corrupts but that it is magnetic to the
corruptible. Such people have a tendency to become drunk on violence, a
condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20130405/a8f18dc3/attachment-0001.html>