home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!nwnexus!Celestial.COM!ray
- From: ray@Celestial.COM (Ray Jones)
- Subject: Re: Communicating with background processes
- Organization: Celestial Software, Mercer Island, WA
- Date: Sat, 12 Dec 1992 01:22:40 GMT
- Message-ID: <1992Dec12.012240.10594@Celestial.COM>
- References: <richard.723718447@dutepp6>
- Lines: 21
-
- In <richard.723718447@dutepp6> Richard.Kooijman@dnpap.et.tudelft.nl (Richard Kooijman) writes:
-
- >Is it possible to communicate with background processes in sh, csh or ksh?
-
- >This is what I would like to do: start up a program in the background
- >that reads and writes to standard in and out, communicate with
- >this program through some other file descriptors.
- [stuff deleted]
- >I want to use the program spook as a kind of daemon. I now know that the
- >above program simply can't work, but I placed it here to illustrate what
- >I want.
-
- I have not tried it with file descriptors, but have used an ordinary file
- for this purpose. I have a program that continues to run (ringing the bell)
- until a file (/tmp/x) content changes from one value to another.
- Crude, but it works.
- --
- INTERNET: ray@Celestial.COM Ray A. Jones; Celestial Software
- UUCP: ...!thebes!camco!ray 6641 East Mercer Way
- uunet!camco!ray Mercer Island, WA 98040; (206) 947-5591
- The probability of one or more spelling errors in this missive approaches
-