mkfifo
How do I properly write to FIFOs in Python?
Something very strange is happening when I open FIFOs (named pipes) in Python for writing. Consider what happens when I try to open a FIFO for writing in a interactive interpreter:[详细]
2023-03-28 08:26 分类:问答Is there a function like WaitNamedPipe or a way to realize this on C++/linux? (so the process is not blocking on the pipe for infinite time)
I have a named pipe in my C++ program. A childprocess writes a value in it and the parent process reads it. I created the pipe by mkfifo and all operations are blocking (fifo cannot be opened for read[详细]
2023-03-24 00:56 分类:问答How do I use exec 3>myfifo in a script, and not have echo foo>&3 close the pipe?
Why can\'t I use exec 3>myfifo in the same manner in a bash script as I can in my terminal? I\'m using named pipes to turn an awk filter into a simple \"server\", that should be able to take text in[详细]
2023-02-19 04:04 分类:问答Python and FIFOs
I was trying to understand FIFOs using Python under linux and I found a strange behavior i don\'t understand.[详细]
2023-02-12 23:25 分类:问答Insert data into mysql table data from a FIFO pipe in linux continuously
I want to insert data from a fifo pipe into a mysql table, right now for me, this is possible until the fifo pipe process is killed,[详细]
2023-02-06 01:55 分类:问答python os.mkfifo() for Windows
Short version (if you can answer the short version it does the job for me, the rest is mainly for the benefit of other people with a similar task):[详细]
2023-01-01 10:33 分类:问答Example for using Python Twisted with File Descriptors
I\'m looking to use twisted to control communication across Linux pipes (os.pipe()) and fifos (os.mkfifo()) between a master process and a set of slave processes. While I\'m positive tat it\'s possibl[详细]
2022-12-17 13:05 分类:问答