Eric Blake wrote: > > 3. switch to the gnulib execute module, which makes this code portable to > > mingw (the current fork/exec sequence excludes mingw, which lacks fork),
Jim Meyering wrote: > #3 sounds like it's worth a try, at least. Note that we have now posix_spawn() portable to all Unix platforms, and I've started looking at a possible implementation of posix_spawn() for mingw. 80% of the building bricks are already present. The 'execute' module will then be based on posix_spawn. So, there is a chance that you get posix_spawn() supported for all platforms within a month or two. You will need less code refactoring if you want to use posix_spawn than if you want to use the 'execute' module. Bruno _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils