Re: About problems with named pipes
On Mon, Nov 10, 2025 at 11:57:30 +0100, Thomas Schmitt wrote:
> I made my experiments in a way that the shell has a chance to find
> the pipe as command.
For anyone who's reading this thread, I strongly advise *not* doing this.
As a controlled one-time laboratory experiment on a system that you
don't particularly care about, eh... all right, I can respect the
scientific curiosity. But if that had actually *worked*, you might
have executed whatever the decompressed contents of that .gz file were.
Probably as a shell script, because I have a hard time believing the
kernel could execute an ELF binary file fed through a named pipe.
But a shell could definitely read the content from one and run it as
a script.
Just to clarify and hopefully END this nonsense, the original command
presented by Van Snyder was:
zcat TheFile.gz | MyFifo
and that | is a typo. It should have been > instead.
Reply to: