suaveant has asked for the wisdom of the Perl Monks concerning the following question:
How (assuming it can be done) would one going about opening a filehandle read-write in C, and then passing it along to an exec'd or system'd perl script? I believe qmail puts its authentication info on file descriptor 3, and then calls a sub process to handle the authentication. How would I do that? Can it be done? I assume qmail uses pipes, not actual files, but is there really a difference?
- Ant
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Passing a filehandle from C to perl
by VSarkiss (Monsignor) on Jul 31, 2001 at 22:47 UTC | |
|
Re: Passing a filehandle from C to perl
by tachyon (Chancellor) on Jul 31, 2001 at 22:08 UTC | |
by suaveant (Parson) on Jul 31, 2001 at 22:29 UTC | |
by tachyon (Chancellor) on Jul 31, 2001 at 22:47 UTC | |
|
Re: Passing a filehandle from C to perl
by John M. Dlugosz (Monsignor) on Jul 31, 2001 at 22:46 UTC |