all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* open file and command substitution of bash
@ 2010-01-04 15:37 alin.s
  2010-01-04 15:48 ` Davis Herring
  0 siblings, 1 reply; 4+ messages in thread
From: alin.s @ 2010-01-04 15:37 UTC (permalink / raw)
  To: Emacs-devel


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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-05 17:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-04 15:37 open file and command substitution of bash alin.s
2010-01-04 15:48 ` Davis Herring
2010-01-05  9:13   ` alin.s
2010-01-05 17:08     ` Davis Herring

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.