tests-always-included / libnss_exec

Other
12 stars 4 forks source link

Consider using pipes #1

Open fidian opened 9 years ago

fidian commented 9 years ago

With forking and using pipes, you can also set the effective UID/GID for the script before the script starts.

See https://jineshkj.wordpress.com/2006/12/22/how-to-capture-stdin-stdout-and-stderr-of-child-program/