Re: [Module-build-general] redirecting system() to a file, or ways to avoid it
Status: Beta
Brought to you by:
kwilliams
From: Ken W. <ke...@ma...> - 2002-11-27 02:20:51
|
On Wednesday, November 27, 2002, at 10:49 AM, Uri Guttman wrote: > make a pipe, fork, dup stdout to the pipe (in child), then in child > multi arg exec. > > this is all that backticks or open "foo|" does. Will this work on systems that don't have good fork() support? The perl prerequisite for Module::Build is 5.6.0, is that enough to guarantee fork()? I just keep thinking that all we're doing is reading a file and writing a file, and I shouldn't have to fork a process for that. Maybe creating an ExtUtils::ParseXS is the way to go. -Ken |