| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | calling dos commands |
>>> What's the difference between exec and spawn? They both seem to do >>> the same thing. BS>> exec() is part of the Posix.1 standard, spawn() is DOS/Win-only. FA> Spawn() also returns the child's exit code, exec() only returns the FA> OS's success or failure of executing it. exec(), by its very nature, will only ever return failure, since it never returns in the event of a success. ¯ JdeBP ® --- FleetStreet 1.19 NR ---------------* Origin: JdeBP's point, using Squish (2:440/4.3) |
|
| 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™.