Hello, I would like to ask advice. My colleague run into a problem, when he had used TProcess to spawn other process. Because of fork nature, file descriptors was copied into newly created process. He found that for such cases CLOEXEC flag exists to be used when open file. I found flag declared in various units inside fpc, but nowhere to be used. So when I need to use it I need to make some own routine? Or more generally do exists in fpc some other way how to deal with this problem - to create new process but without copied file descriptors?
tomas
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal