emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: PC-do-completion with directories adding stars.]


From: Eli Zaretskii
Subject: Re: address@hidden: PC-do-completion with directories adding stars.]
Date: Tue, 07 Mar 2006 06:49:14 +0200

> From: Michael Cadilhac <address@hidden>
> Cc: Michael Cadilhac <address@hidden>,  Luc Teirlinck <address@hidden>,  
> address@hidden,  address@hidden,  address@hidden
> Date: Mon, 06 Mar 2006 22:01:43 +0100
> 
> > Problem is that this will fail depending on the user's shell (zsh vs tcsh
> > vs bash vs rc vs ...).
> 
>   Well, can't we just do something like
> 
>   (let ((shell-file-name "sh"))
>      (shell-command ...))
> 
>    Or directly use (call-process "sh" ...)  to make sure we have
>    a Bourne compatible shell ?
> 
>    Maybe there's an issue with Windows, I don't know.

Yes, there is.  You cannot assume there's a port of "sh" on Windows.
So any solution that needs "sh" is not a good idea.




reply via email to

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