[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Opening stdin or pipe
From: |
Kai Großjohann |
Subject: |
Re: Opening stdin or pipe |
Date: |
Tue, 25 Feb 2003 09:03:28 +0100 |
User-agent: |
Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 |
gregoryj@hotpop.com (Gregory J.) writes:
> I want to be able to pipe data into an Emacs buffer (a new one in a
> new Emacs session would be fine). Preferably, I'd use a normal shell
> pipeline something like this:
>
> whatever-command | emacs -
I think it's best to do it the other way round: from within Emacs,
start whatever-command and read its output.
You can start a process synchronously with call-process. Or you can
start it asynchronously via start-process.
--
A preposition is not a good thing to end a sentence with.