im trying to write the c code equivalent of the bash script ls -la | less
but it isnt working correctly, and im not sure because of its because of the pipe part or the executing command part, see code ...

I have an application that parses the output from a command line using popen. However, when tested on Android, it crashes on pclose: Why? When tested in other Unix environment I have no error...
char ...

I want to run a system function within a program written in C.
This system function is blocking and can take some time before it returns to stdout. The function to be called is snort, and normally is ...

I am learning about ipc in Linux and trying out pipes. I've set up two pipes between the parent and two child processes. While the data goes through the pipes, I get weird newlines. For instance, the ...

I have a program which forks and I want the parent and the child process to communicate through an array of size 3, but I am not able to do this. Reading from the pipe meant to pass the array to the ...

I have created a C++ program that acts as a front-end wrapper for a backend C program that communicates with the Bluez 5.x (Bluetooth) stack. The C++ front-end wrapper program use a standard two-way ...

I'm new to python, still learning
What i need to do is to fork a complex command to background and continue th execution of my main program, something like this:
I do this from the linux command line ...

I need to send a TCP message repeatedly, e.g. every 500 ms.
Socat is available for win32 and accepts data from stdin, but afaik it does not support iteration/looping.
A batch file ideally would start ...

I'm trying to use a batch script to identify the name of the wireless adapter (people rename them). then use the answer to restart that adapter. Is there a way to disconnect/reconnect with a specific ...

In a thread I am using poll to block the thread until there is something to read, but I need to close the thread and cleanup when a signal is captured by my program.
I tried to use pipe and add the ...

I'm discovering powershell with some joy and some frustation, and I'm currently hitting a wall with respect to my powershell abilities.
I'd like to create a pipe function to summarize member types of ...

I am creating multiple processes and I need to create two unnamed pipes for each process.
For each child, one pipe will be used to get int value from parent; one for sending to int arrays to parent. ...

I'm writing a program(for a class) to learn how to use semaphores for interprocess-communication. I've got the semaphores figured out(I think..), but using two pipes to send messages back and fourth ...

I am creating a C program to measure a process switch for a project, and I am having a couple difficulties. The method I am using is to create 2 pipes, parentpipe and childpipe. The parent writes one ...

I am trying to run the sample example in this tutorial about Hadoop Pipes:
I'm succeeding in compiling and everything. However, after it runs it shows me NullPointerException error. I tried many ways ...