[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
terminal command with output in current buffer
From: |
lisa-asket |
Subject: |
terminal command with output in current buffer |
Date: |
Fri, 16 Jul 2021 19:00:13 +0200 (CEST) |
Many thanks, I just did not follow what asynchronously meant.
Can one assign default values when `read-from-minibuffer` in empty?
From: Felix Dietrich <felix.dietrich@sperrhaken.name>
To: help-gnu-emacs@gnu.org
Subject: Re: Run terminal command with output in current buffer
Date: 16/07/2021 18:32:00 Europe/Paris
lisa-asket@perso.be writes:
> But when using `shell-command` I have to wait until the command is
> executed before it gets displayed in the buffer. Can I make it print
> as it is executing ?
Reread the docstring of “shell-command”! There you will find:
“If COMMAND ends in ‘&’, execute it asynchronously. The output
appears in the buffer ‘*Async Shell Command*’. That buffer is in
shell mode. You can also use ‘async-shell-command’ that
automatically adds ‘&’.”
--
Felix Dietrich
- Re: Run terminal command with output in current buffer, (continued)
- Re: Run terminal command with output in current buffer, Eli Zaretskii, 2021/07/16
- Run terminal command with output in current buffer, lisa-asket, 2021/07/16
- Run terminal command with output in current buffer, lisa-asket, 2021/07/16
- Re: Run terminal command with output in current buffer, Felix Dietrich, 2021/07/16
- Re: Run terminal command with output in current buffer, Stefan Monnier, 2021/07/16
- Run terminal command with output in current buffer, lisa-asket, 2021/07/16
- Re: Run terminal command with output in current buffer, Felix Dietrich, 2021/07/16
- terminal command with output in current buffer,
lisa-asket <=
- Re: terminal command with output in current buffer, Felix Dietrich, 2021/07/16
- terminal command with output in current buffer, lisa-asket, 2021/07/16
- Re: terminal command with output in current buffer, Felix Dietrich, 2021/07/16
- terminal command with output in current buffer, lisa-asket, 2021/07/17
- terminal command with output in current buff, lisa-asket, 2021/07/17
- terminal command with output in current buff, lisa-asket, 2021/07/17
- Re: terminal command with output in current buff, Felix Dietrich, 2021/07/17
- Re: terminal command with output in current buffer, Emanuel Berg, 2021/07/18
- Re: terminal command with output in current buffer, Stefan Monnier, 2021/07/19
- Re: terminal command with output in current buffer, Emanuel Berg, 2021/07/19