TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: BRYAN JOYCE
from: BOB STOUT
date: 1998-02-08 23:59:00
subject: calling dos commands

On , Bryan Joyce (2:258/3.21@fidonet) wrote: 
 RS> exec() is part of the Posix.1 standard, spawn() is DOS/Win-only.
 > So exec would be used for compatability on different platforms such as
 > in UNIX etc?
Bryan...
  Yes, but the portability is mostly an illusion in this case. Since Unix is 
a multitasking operating system, exec() is most commonly used with fork(), 
another Posix.1 function. DOS/Win16 have no equivalents to fork() and, IIRC, 
even Win32 has no directly portable fork() function.
  Other folks feel free to jump in and correct me if I'm wrong... 
--- QM v1.00
---------------
* Origin: MicroFirm : Down to the C in chips (1:106/2000.6)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.