all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "alin.s" <alinsoar@voila.fr>
To: Emacs-devel@gnu.org
Subject: open file and command substitution of bash
Date: Mon, 4 Jan 2010 07:37:30 -0800 (PST)	[thread overview]
Message-ID: <27014612.post@talk.nabble.com> (raw)


I try to start emacs reading a file from a fifo, and I cannot.

I tried to do so:

exec 5< <(ls)

In this case , <(ls) returns a file descriptor, and I duplicate it in file
descriptor 5.

Then I start emacs so:

emacs /dev/fd/5

The result: File exists, but cannot be read...

This happens because emacs cannot read pipe files...

However, I suppose that emacs uses pipes for implementing processes... It
cannot read its stdin from a pipe and create a buffer with?


Thanks for any clarification.




-- 
View this message in context: http://old.nabble.com/open-file-and-command-substitution-of-bash-tp27014612p27014612.html
Sent from the Emacs - Dev mailing list archive at Nabble.com.





             reply	other threads:[~2010-01-04 15:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04 15:37 alin.s [this message]
2010-01-04 15:48 ` open file and command substitution of bash Davis Herring
2010-01-05  9:13   ` alin.s
2010-01-05 17:08     ` Davis Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=27014612.post@talk.nabble.com \
    --to=alinsoar@voila.fr \
    --cc=Emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.