Re: Make on XP - shell selection?

"grischka" <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Message-ID <005701c814bc$8c3eeb40$d745fe91@j4f3n1>
Eli Zaretskii wrote:
> I'm not sure I follow: are you suggesting to write a function named
> w32_adjust_shell_and_set_mode_flags

Yes, a function that operates on the expanded string of SHELL
when it's about to be used. 

> that would search for SHELL along
> PATH, like find_and_set_default_shell does now?

What exactly it does we can fill in when we have it. If it only
sets unixy_mode or batch_mode, it should already work for 99%.

> That'd be a terrible
> cycle killer, because this function would be called on each command
> invocation.

But no. Compared to what it takes the OS to spawn (and run!) a process, 
one path search more or less wont make even the slightest difference.

--- grischka
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.