So i created a c program in unix. This is what it does.
1)It forks a process.
Child Process: Performs execv() on a alarm clock program which prints "Alarm rang" after 'x' seconds
Parent Process: Performs waitPID on child above. Then exits.
Output: So i ran it and i received the "Alarm rang after x seconds"
Everything is working fine. But now what i want is for the child process to run in the background. Meaning i do not want to see its output. but i want it to run and exit.