home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.22 / text0057.txt < prev    next >
Encoding:
Text File  |  1991-03-06  |  789 b   |  23 lines

  1. Submitted-by: lenox@media-lab.MEDIA.MIT.EDU (Lenox H. Brassell)
  2.  
  3. In article <16478@cs.utexas.edu>, guido@cwi.nl (Guido van Rossum) writes:
  4. > (Note that the
  5. > spawn() functions found in Microsoft C for MS-DOS emulate either just
  6. > exec() or fork()+exec()+wait(), which is much less powerful, but
  7. > all that MS-DOS can support (last time I looked).)
  8.  
  9. Using Microsoft C under OS/2, you can pass P_NOWAIT as the first
  10. argument to the MSC spawn() functions, and the child process will run
  11. asynchronously.  The spawn() functions return the child process's PID
  12. in this case.
  13.  
  14. Although MSC is certainly not a UNIX compiler, this "prior art" might
  15. be a good place to start if POSIX needs a "safe" qfork()+exec() service.
  16.  
  17.  
  18. --lenox (lenox@media-lab.mit.edu)
  19.  
  20. Volume-Number: Volume 22, Number 59
  21.  
  22.