feat: add --socket-fd CLI option - #7940
Conversation
4af67c5 to
81072fc
Compare
There was a problem hiding this comment.
Actually, had one thought. Would it make sense to combine the flags? They seem so similar apart from the unlink behavior.
What do you think about reusing --socket, but if it is a number (parseInt() returns non-NaN) then we assume it is an fd, and we skip the unlink and mode change? Or does that overcomplicate the flag without any real benefit?
Do you know of any precedent from other existing applications?
I was originally referencing |
Fixes #7939