[Top][All Lists]

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

Re: Asynchronous commands with eshell-command

From: Thierry Volpiatto
Subject: Re: Asynchronous commands with eshell-command
Date: Tue, 27 Jan 2009 17:40:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Hi Michael, Sebastian and all!
Sebastian Tennant <address@hidden> writes:

> Quoth Michael Heerdegen <address@hidden>:
>> Does anybody know how to start external commands asynchronously with
>> `eshell-command'? I tried `xterm &' for example, which works but also
>> raises an error.
>> The source code seems to support the asynchronous case, but I don't
>> know what to type.
> Where's Thierry Volpiatto when you need him :)

I am here again!
But i am not a specialist of eshell, just a user that use always
eshell-command instead of shell-command (M-!) because it's much more
It accept elisp code, shell code, the both mixed, alias, all completion
and more.

But for asynchronous commands, i don't know.
Using & work fine here, except apply seem to doesn't like the &.
May be have a look at `eshell-parse-argument-hook'.
I will look at that on my side.

But if you want to make more complex async commands, why not creating a
specialized function using start-process/start-process-shell-command
with another sentinel-function that use set-process-sentinel ?

A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France

reply via email to

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