Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [named-pipe]

The tag has no usage guidance.

1
vote
0answers
37 views

Is fifo pipe size limited by disk cache allocated space?

On Linux CentOS 7 I am using named fifo pipes created with mkfifo to handle data passing between pairs of processes running on a multiprocessor disk server (Dell R730xd with 132GB RAM and 20TB RAID ...
1
vote
1answer
37 views

named pipes apparently not working/responding?

I am trying to use named pipes as a convenient way to preprocess input on the fly for pipelines that sadly do not accept data from stdin directly. everywhere I look for info I get basically the same ...
2
votes
1answer
42 views

Shell pipes - the order of things

Because netcat on my box doesn't support -e, The netcat man page gives me this workaround: $ rm -f /tmp/f; mkfifo /tmp/f $ cat /tmp/f | /bin/sh -i 2>&1 | nc -l 127.0.0.1 1234 > /tmp/f I ...
2
votes
0answers
354 views

Create a symbolic link to a named pipe

Let's say some application exposes a named pipe with the name "Pipe1". If I want to express the named pipe as a file path that can be used for writing or reading, the path \\.\pipe\Pipe1 or \\?\pipe\...
0
votes
1answer
371 views

How to “tail” multiple pipe files or streams?

I need to monitor a lot of web servers for runtime errors and I have an idea of running a script like #!/bin/bash -e # Example set of hosts HOSTS=( host1 host2 ) for host in ${HOSTS[@]} do [...
1
vote
0answers
249 views

Named Pipe connection between Host and Guest with Virtualbox

I have two apps which communicate over a named pipe (Unix domain socket) - all on one machine. I cannot figure out how to get the app in the VirtualBox VM (Linux) to open the named pipe on the host (...
2
votes
0answers
403 views

How to make vstest named pipes work properly in Windows 10

Like so many other people, I'm using Visual Studio to do software development. Now, one of the features that I like is the integration of VSTest into the software. VSTest relies on named pipes to do ...
0
votes
0answers
461 views

Configure UART/COM in Linux using Hyper-V Generation 2 VM

I've setup Linux Mint x64 in Hyper-V as a Generation 2 Virtual Machine on my Windows 10 desktop. I would like to attach a USB->Serial converter (FT232RL) to the VM, so I can program and debug embedded ...
1
vote
1answer
1k views

nc and named pipes for port forwarding

I have my environment setup to listen to jetty on port 8888. However, for a limited time, I will have to also listen on 8889. I though of using named pipes and nc for that: mkfifo pipe1 /bin/nc -l ...
0
votes
1answer
403 views

Showing the output of a named pipe from VirtualBox

I created a named pipe in VirtualBox, and I found some pages explaining how to read it's output using Putty, but I don't want to use that. Since Putty is just a frontend to ssh (right?), I would ...
1
vote
0answers
15 views

Pipe from third party debugger to own app

Third party debugger (specifically, IAR C-Spy) has a Macro language that can help debug an application. This language allows you to read and write to files. There doesn't appear to be a way of ...
1
vote
1answer
1k views

How to send message both to netcat and other script?

I'm trying to make some client-server interface. Think of it as one-on-one chat. What I want to achieve are two horizontal views. Bottom for my (server) input, top for client output and my input. ...
1
vote
0answers
266 views

Read the COM1 output of a Hyper-V guest system

I have a guest O/S that writes debug output to the COM1 UART. This port is virtualized by the Hyper-V host. The Hyper-V Server allows only a redirection to a "named pipe". I want to read what the ...
5
votes
1answer
78 views

How many ways does Unix feign files?

I know Unix filesystem sometimes has things that appear to be files but are not actually files. The files in dev actually point to devices. Its also possible to created named pipes which also appear ...
1
vote
1answer
972 views

How do I feed FFMPEG with JPEG images via Named Pipe?

Normally you can feed FFMPEG with images from the file system using -f image2, but this doesn't work when you have a named pipe as input: FFMPEG complatins that "index in the range 0-4" could not be ...
2
votes
2answers
1k views

Linux job queue for FFmpeg conversion

I'm starting up a Debian web server which will host a website where users can upload video files and play them. Hence, the video files need to be converted into the proper format (mp4, ogg, webm) for ...
0
votes
1answer
209 views

update terminal title from standard output of long running command?

I'd like to change the title of a terminal window during a long running command (for example: git svn fetch) with values greped from the output, whilst still writing to standard output. Is this ...
5
votes
3answers
8k views

Use netcat as a proxy to log traffic

I want to use netcat as a proxy to log http requests and responses to files, then tail these to inspect traffic. Think wireshark. Tried the following where 'fifo' is a named pipe, 'in' and 'out' are ...
3
votes
0answers
2k views

Using a named pipe to simulate a serial port on a VMware virtual machine (linux host and client)

Trying to write a python program to create a simulated data stream and feed it, through a named pipe, to a VMware virtual machine. The host is running Ubuntu 11.10 and VMware player 5.0.0. The Vm is ...
3
votes
2answers
1k views

Keeping bash open on a named pipe

I'm looking to send commands to a separate tmux pane from vim and I figured the easiest way was to mkfifo a named pipe /tmp/cmds and run bash < /tmp/cmds to listen for commands to run. I then do ...
16
votes
4answers
26k views

In windows, can I redirect stdout to a (named) pipe in command line?

Is there a way to redirect the standard output of a process in Win32 console to a named pipe? Named pipes are built in to Windows and while they would be an useful concept, I've never seen them used ...
2
votes
1answer
357 views

how to convert a script using pipelines to named pipes

I have a bash script that is using anonymous pipes to achieve: grabbing video from dv capture device writing to a file (using tee) piping it to ffmpeg2theora (converting to ogv/theora video) writing ...
2
votes
1answer
4k views

IO redirection with mkpipe for logging purposes

I have a bunch of scripts that send output to stdout. I am redirecting the output to files, but these files get large very very quickly. For example: ./script_with_lots_of_outpu.sh 2>&1 mylog....
4
votes
1answer
3k views

How long do FIFOs (named pipes) stay “open” for?

For example, I have a script that writes the time to a pipe in /etc/pipe. It writes continuously in a while true loop. How long will the data in the pipe be available for reading? If I only decide to ...