[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generalize start-process with keyword args
From: |
Andy Moreton |
Subject: |
Re: Generalize start-process with keyword args |
Date: |
Mon, 16 Mar 2015 22:27:44 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt) |
On Mon 16 Mar 2015, Eli Zaretskii wrote:
>> From: Andy Moreton <address@hidden>
>> Date: Mon, 16 Mar 2015 19:12:45 +0000
>>
>> start-process assumes that the system is capable of handling shebang
>> lines in shell scripts and launching them by executing a shell.
>
> Can you point out where does this assumption live in the code?
In the callers of start-process, which assume that an executeable shell
script can be used as the command argument.
>> It would be useful to have a way to have start-process have an option to
>> start the new process via a shell, so that existing code that assumes
>> that it can use start-process with an executable shell script can also
>> be made to work on Windows.
>
> The Windows shells cannot run Unix shell script, so I'm not sure I
> understand how would you like this to work.
By (optionally) invoking the command via a shell. This allows
integration of unix style commands inplemented as executable shell
scripts with Win32 emacs. At the moment I handle this on a case by case
basis with advice, but it would be useful to allow a more general
wrapper.
AndyM
- Re: [PATCH] Generalize start-process with keyword args, (continued)
- Re: [PATCH] Generalize start-process with keyword args, Eli Zaretskii, 2015/03/18
- Re: [PATCH] Generalize start-process with keyword args, Stefan Monnier, 2015/03/18
- Re: [PATCH] Generalize start-process with keyword args, Eli Zaretskii, 2015/03/18
- Re: [PATCH] Generalize start-process with keyword args, Eli Zaretskii, 2015/03/17
- Re: Generalize start-process with keyword args, Andy Moreton, 2015/03/16
- Re: Generalize start-process with keyword args, Eli Zaretskii, 2015/03/16
- Re: Generalize start-process with keyword args,
Andy Moreton <=
- Re: Generalize start-process with keyword args, Stefan Monnier, 2015/03/16
- Re: Generalize start-process with keyword args, Eli Zaretskii, 2015/03/17
- Re: Generalize start-process with keyword args, Andy Moreton, 2015/03/17
- Re: Generalize start-process with keyword args, Eli Zaretskii, 2015/03/17
- Re: Generalize start-process with keyword args, Andy Moreton, 2015/03/17
- Re: Generalize start-process with keyword args, Eli Zaretskii, 2015/03/19
- Re: Generalize start-process with keyword args, Andy Moreton, 2015/03/19
- Re: Generalize start-process with keyword args, Stefan Monnier, 2015/03/20
- Re: Generalize start-process with keyword args, Stefan Monnier, 2015/03/17
Re: pipe, Eli Zaretskii, 2015/03/13