home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 103.lha / Spawn / b.readme < prev    next >
Text File  |  1986-11-21  |  1KB  |  33 lines

  1. spawn.arc
  2.  
  3. This arc file contains an alternate _main module for Aztec C 3.4 that will
  4. detach a program linked with it from the CLI from which it was started
  5. (just like db).  The workbench startup is unaffected.
  6.  
  7.     b - a sample "detaching" program.  It opens a console window, types out
  8.     the arguments that you keyed in.  If you have "arp.library", the
  9.     name of the current directory is also typed out (just to prove that
  10.     the spawned task has the correct current directory - namely that of
  11.     the creator).  When you execute this like:
  12.  
  13.         b abc asdfasd
  14.  
  15.     notice that your CLI prompt comes right back while "b" is
  16.     running.  Neat, eh.
  17.  
  18.     b.c - source code for b.
  19.  
  20.     makefile - makefile for b
  21.  
  22.     x_main.c - source code for _main module replacement.
  23.  
  24.  
  25. The best way to use this module is to place it on the linker call
  26. somewhere before -lc so that the normal _main module won't be used (see
  27. the makefile).
  28.  
  29. The original _main.c is copyright 1986, 1987 Manx Software.
  30.  
  31. Bill Barton
  32.  
  33.