home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!decwrl!csus.edu!csusac!unify!openlook!openlook-request
- From: fgreco@shearson.com (Frank Greco)
- Newsgroups: comp.windows.open-look
- Subject: Xview and process blocking?
- Message-ID: <3bbffny@openlook.Unify.Com>
- Date: 20 Aug 92 22:16:51 GMT
- Sender: news@Unify.Com
- Lines: 19
-
- Does anyone have any suggestions as to how to block the parent process
- while the child runs in an XView environment?
-
- The parent process is an XView application which *must* wait until the
- child process terminates (eg, a compile). I need to have the same
- behavior as system(); I need to fork()/exec() a shell that runs the
- child and optionally waits/doesn't wait for the child to terminate (ie,
- the appended '&').
-
- All of my current attempts have either gotten a no-waiting version,
- or the notifier goes into an infinite loop ignoring all SIGTERM signals.
-
- I'm trying to be a good XView citizen and not use good 'ole system(),
- which, btw, seems to work all the time...
-
- Thanks,
-
- Frank G.
- =-=-=-=-=-=-=-=-=-=
-