home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / openloo / 3536 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1006 b 

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