Hello everybody,I will try to introduce myself correctly.So I'm a french guy (20yo) who learned to use a GNU/Linux distro with Debian Lenny and Ubuntu9.10 (and recently 10.04).But I love to test everything, and I think that Ubuntu is going on the wrong way... I was on OpenBox3, and my themes were often inspired by #! ^^I have hesitate a long long time to install #!
A parent company isn’t all that different from a real parent. They feed you, and give you money. They give you advice (sometimes more strictly than others). And, yes, they embarrass you. Speaking of, today our proud parent company Aol, with vast experience in the retail, online retail, online business, has launched an online storefront for its brands, including TechCrunch.
I'm creating a parent-child process in C and these processes are using an array of characters as a shared memory and i want the execution to be in this sequence
parent->child->parent->child->parent->child .... and so on, i am using Wait(NULL) in parent but the execution go in the sequence of parent->child->parent->parent->parent ....
i want to call a child shell script from a parent shell script. the child will be running for 5 mins. normally when the child is running, parent will wait till the child completes. so in the above case parent will be paused for 5 mins. is there a way so that the parents does not wait for the child to complete? for example.
I want parent and child processes to communicate in C linux using pipes. First I want parent to pass a string and then child to acknowledge it. I have created two file descriptors. one for parent to child i.e. readpipe and other writepipe for viceversa. But I am getting null as output for ch and ch1 strings in my code below.