Search Results

Search: Posts Made By: Crab
Forum: Programming 09-19-2006
2,409
Posted By Crab
nopes man!!!
control goes to parent process (after execvp() in the child process)...but in parent process when i m trying to input anythng ...its not getting displyed on the STDOUT but that command is getting...
Forum: Programming 09-19-2006
2,409
Posted By Crab
Not able to see the inputted command on the shell prompt..but its executing the comnd
Hi ,
I m writing a program which involves piping(pipes).

In my program, once i execute the child process (dealing with pipe),I m not able to see any inputted command on the screen....but the...
Forum: Programming 09-17-2006
12,919
Posted By Crab
Sorry for the Typo...but i hav commented the open()
BTW it wasnt giving any system error...dunno kno how :rolleyes:
Forum: Programming 09-17-2006
2,545
Posted By Crab
thanx alot...
by using printf("--in child\n") instead of printf("--in child") , i got the desired output
Forum: Programming 09-17-2006
12,919
Posted By Crab
after executing execvp()... program hangs up
Hi ,

I m actually trying to implement pipes program,but after executing the execvp(),my program is getting hanged up :mad:

Actaully i m getting the desired output expected from execvp()...but...
Forum: Programming 09-16-2006
2,545
Posted By Crab
Both parent and child processes are running....still its not goiing into child's code
i tried to check which all processes are running....actaully both child and parent processes are running...but its not entering into child's code :mad: :mad:
Forum: Programming 09-16-2006
2,545
Posted By Crab
Child process is not getting started
Hi,
When i m trying to run below code,its entering into wait stage.

output: In parent
pid=2134 // some random value assigned to child process
parent waiting.....
...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 01:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy