nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] XOAUTH2 integration, and a few questions

2016-06-29 09:21:48
The usual way to do this is to open a file on /tmp, unlink it, scribble the
bits into the file, and pass the still-open file descriptor to the child
process and pass just a '-fd 5' or whatever to tell the child which descriptor
to read from....

I think you all are missing the forest for the trees here.  The only
reason send(1) is passing down the bearer token on a command line argument
is because post(8) doesn't read the profile.  Yes, we could improve the
inter-process communication, but it would be simpler and more flexible
to pass down the needed profile entries via command line switches (send
already does this for at least one thing).

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>