Quote:
Is it truly necessary to call exec to acquire the desired FDs?
|
Happy to see an alternative. I will admit that I am at less than a year of experience with them so still learning.
Quote:
How can you safely assume FD 3 and FD 4 are free for use in any particular environment?
|
I guess you could make it more robust to check prior to running and use the first available ones, but:
1. Was only really looking at a simple solution
2. As with first answer, happy to know more ways to identify those in use and how to choose next ones