pipe
diff cmd, Binary files x and y differ
I have a program that takes two files as an argument.The first file is to be copied into the second.The program forks into 2 children, the first child reads file and throws it thru the pipe to the oth[详细]
2023-04-03 20:13 分类:问答Combining pipe with exit status in bash shell script
I have this bash shell-script command that causes date to run if make succeeds (terminates with zero exit status) and vice versa:[详细]
2023-04-03 14:33 分类:问答Reading and writing data through a pipe
I have created two processes using fork(). The child process is producing and writing continuously a variable amount of data (array char) to the pipe. The parent process reads from the pipe and prints[详细]
2023-04-03 11:09 分类:问答capture output from a pipe and store it in a variable
I am trying to capture output from a pipe and store it in a variable. Using a subshell ie var=$(computeOutput) WILL NOT WORK because the computeOutput function itself is setting other variables that开[详细]
2023-04-03 07:08 分类:问答How to filter a lot of data with IPC::Open2?
My task is to fil开发者_Python百科ter some data from perl script with external utility(the addr2line). The data size is quite large. I need to print a lot of data to stdin of program and read a lot of[详细]
2023-04-02 14:51 分类:问答Setting a fmemopen ed file descriptor to be the standard input for a child process
I have an fmemopen file descriptor(pointing to a buffer in the parent) in Linux and I would like to be able to, in C, set this file descriptor as the standard input for a child process(for whom I do n[详细]
2023-04-02 11:43 分类:问答Writing to stdin for homebrew-piping
I\'m writing a small program to mimic the Unix piping system (e.g. \"cat file1.txt | grep keyword | wc\").[详细]
2023-04-02 09:32 分类:问答UDP PROXY / PIPE, The requested address is not valid in its context
I get this error.. and I know the ip address is not valid duh! but it\'s a server it should be based on port only.[详细]
2023-04-02 02:06 分类:问答How do I chain stdout in one child process to stdin in another child in C?
I\'ve been messing around in C trying to figure out how to do this. Let\'s say I have my main program, the parent process. The parent creates three child processes, each of which will eventually run p[详细]
2023-04-01 07:10 分类:问答How to use Pipe Symbol through exec in Java [duplicate]
This question already has answers here: How to make pipes work with Runtime.exec()? (4 answers) Closed 9 years ago.[详细]
2023-03-31 23:05 分类:问答