| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Executing a program? |
Jonathan de Boyne Pollard wrote in a message to Mike Bilow: > [...] although MUTEX is a > little smarter and reads the name of the program out of the > environment (OS2_SHELL) rather than assuming CMD.EXE. JdBP> Interesting, that. Everyone else (most MAKE utilities, JdBP> and most programs that allow you to "shell out") uses JdBP> COMSPEC. Even CMD uses COMSPEC, to determine what shell JdBP> to start for the START and DETACH commands when an JdBP> internal command or batch file is specified. JdBP> The only people that I've encountered that use OS2_SHELL JdBP> are Borland, and now you. JdBP> Are you pleased to be in such exalted company ? (-: I really never thought about it. I developed MUTEX so long ago that it antedates OS/2 Warp, and is actually a 16-bit program, althouh I have modified it by adding a few command line switches as recently as a year ago. I seem to recall that COMSPEC was the DOS flavor and OS2_SHELL was the OS/2 flavor. It never occurred to me to revisit the question. -- Mike ---* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107) SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809 @PATH: 323/107 170/400 396/1 270/101 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
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™.