home *** CD-ROM | disk | FTP | other *** search
- spawn.arc
-
- This arc file contains an alternate _main module for Aztec C 3.4 that will
- detach a program linked with it from the CLI from which it was started
- (just like db). The workbench startup is unaffected.
-
- b - a sample "detaching" program. It opens a console window, types out
- the arguments that you keyed in. If you have "arp.library", the
- name of the current directory is also typed out (just to prove that
- the spawned task has the correct current directory - namely that of
- the creator). When you execute this like:
-
- b abc asdfasd
-
- notice that your CLI prompt comes right back while "b" is
- running. Neat, eh.
-
- b.c - source code for b.
-
- makefile - makefile for b
-
- x_main.c - source code for _main module replacement.
-
-
- The best way to use this module is to place it on the linker call
- somewhere before -lc so that the normal _main module won't be used (see
- the makefile).
-
- The original _main.c is copyright 1986, 1987 Manx Software.
-
- Bill Barton
-
-