make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make on XP - shell selection?


From: grischka
Subject: Re: Make on XP - shell selection?
Date: Mon, 22 Oct 2007 17:00:48 +0200

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]