Search Results

Search: Posts Made By: Theju
Forum: Programming 09-18-2008
2,627
Posted By Theju
signal handling while in a function other than main
Hi,

I have a main loop which calls a sub loop, which finally returns to the main loop itself. The main loop runs when a flag is set. Now, I have a signal handler for SIGINT, which resets the flag...
7,322
Posted By Theju
Thanks quine. It worked. In my process I write: ...
Thanks quine. It worked. In my process I write:

mkfifo("xyz",0666);
int fd;
char *c = "Info written";
fd = open(xyz,O_WRONLY);
write(fd,c,strlen(c));
close(fd);

and in my script I read...
7,322
Posted By Theju
Thanks, vidyadhar85...But,from what I understand,...
Thanks, vidyadhar85...But,from what I understand, I can redirect the output of my background process to /dev/null, but that is not what I want to do. I have a background process, and it throws up...
7,322
Posted By Theju
Redirect bg process output to within the script
Hi,

I have a process running in the background, which throws up some output to the terminal when I run my script. How can I read this output from my script?

Thank you.
Showing results 1 to 4 of 4

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