| alexfru USA, 11.09.2014, 21:26 |
C's system() & COMMAND.COM (Developers) |
I've started a thread on comp.os.msdos.programmer, but posting it here to widen the audience. |
| nidud Norway, 11.09.2014, 23:22 @ alexfru |
C's system() & COMMAND.COM |
Borland |
| alexfru USA, 12.09.2014, 02:55 @ nidud |
C's system() & COMMAND.COM |
> Borland |
| nidud Norway, 12.09.2014, 12:44 @ alexfru |
C's system() & COMMAND.COM |
> I'm sorry for being unable to read your mind. What did you want to say with |
| alexfru USA, 13.09.2014, 00:54 @ nidud |
C's system() & COMMAND.COM |
> > I'm sorry for being unable to read your mind. What did you want to say |
| nidud Norway, 13.09.2014, 14:54 @ alexfru |
C's system() & COMMAND.COM |
> > |
| tom Germany (West), 12.09.2014, 13:10 @ alexfru |
C's system() & COMMAND.COM |
> I'm sorry for being unable to read your mind. What did you want to say with |
| marcov 12.09.2014, 20:00 @ tom |
C's system() & COMMAND.COM |
> if you want to be compatible to Borland or Microsoft, system("command") is |
| alexfru USA, 13.09.2014, 01:05 @ marcov |
C's system() & COMMAND.COM |
> FWIW: |
| marcov 13.09.2014, 14:02 @ alexfru |
C's system() & COMMAND.COM |
> > "In the UNIX system, the status return is the value returned by exit" |
| alexfru USA, 13.09.2014, 14:21 @ marcov |
C's system() & COMMAND.COM |
> > > "In the UNIX system, the status return is the value returned by exit" |
| marcov 13.09.2014, 16:50 @ alexfru |
C's system() & COMMAND.COM |
> > That's Unix(POSIX), not C. What are you doing, implementing a C |
| alexfru USA, 13.09.2014, 17:06 @ marcov |
C's system() & COMMAND.COM |
> > > That's Unix(POSIX), not C. What are you doing, implementing a C |
| marcov 13.09.2014, 20:24 @ alexfru |
C's system() & COMMAND.COM |
> |
| alexfru USA, 16.09.2014, 23:27 @ marcov |
C's system() & COMMAND.COM |
> > |
| marcov 17.09.2014, 13:03 @ alexfru |
C's system() & COMMAND.COM |
> What is %environmentvariables%? Or do you want to say that I should not |
| alexfru USA, 17.09.2014, 13:07 @ marcov |
C's system() & COMMAND.COM |
> > What is %environmentvariables%? Or do you want to say that I should not |
| bretjohn Rio Rancho, NM, 15.09.2014, 19:24 @ alexfru |
C's system() & COMMAND.COM |
> DJGPP looks at the extension and executes .COM/.EXE directly if the |
| alexfru USA, 16.09.2014, 23:24 @ bretjohn |
C's system() & COMMAND.COM |
> > DJGPP looks at the extension and executes .COM/.EXE directly if the |
| marcov 17.09.2014, 13:04 @ alexfru |
C's system() & COMMAND.COM |
> > Internal commands are ALWAYS processed first, so even if you find a |
| alexfru USA, 17.09.2014, 13:08 @ marcov |
C's system() & COMMAND.COM |
> > > Internal commands are ALWAYS processed first, so even if you find a |
| bretjohn Rio Rancho, NM, 17.09.2014, 20:42 @ alexfru |
C's system() & COMMAND.COM |
> IFF an internal command ends in .COM/.EXE, which is sick. |
| alexfru USA, 17.09.2014, 22:53 @ bretjohn |
C's system() & COMMAND.COM |
> > IFF an internal command ends in .COM/.EXE, which is sick. |
| marcov 18.09.2014, 12:18 @ alexfru |
C's system() & COMMAND.COM |
> > The problem is there's no |
| alexfru USA, 18.09.2014, 13:33 @ marcov |
C's system() & COMMAND.COM |
> > > The problem is there's no |
| Rugxulo Usono, 18.09.2014, 15:20 @ alexfru |
C's system() & COMMAND.COM |
> I may (I probably should) document my implementation of system(), but other |
| alexfru USA, 18.09.2014, 15:41 @ Rugxulo |
C's system() & COMMAND.COM |
> > I may (I probably should) document my implementation of system(), but |
| Rugxulo Usono, 01.11.2014, 23:48 @ alexfru |
C's system() & COMMAND.COM |
> http://www.4dos.info/sources.htm says at the bottom below that same text: |
| Rugxulo Usono, 02.11.2014, 00:29 @ Rugxulo |
C's system() & COMMAND.COM |
> > http://www.4dos.info/sources.htm says at the bottom below that same |
| marcov 18.09.2014, 16:10 @ Rugxulo |
C's system() & COMMAND.COM |
> I think you misunderstood MarcoV. He isn't interested, just offering some |
| marcov 18.09.2014, 16:07 @ alexfru |
C's system() & COMMAND.COM |
(big laments snipped) |
| Rugxulo Usono, 18.09.2014, 07:27 @ bretjohn |
C's system() & COMMAND.COM |
> What your program should do is the same thing that would happen if the user |
| bretjohn Rio Rancho, NM, 18.09.2014, 18:14 @ Rugxulo |
C's system() & COMMAND.COM |
Unfortunately, INT 2Eh has this problem (quoting from the link provided): "results are unpredictable if invoked by a program run from a batch file because this call is not reentrant and COMMAND.COM uses the same internal variables when processing a batch file". |
| Rugxulo Usono, 01.11.2014, 23:32 @ bretjohn |
C's system() & COMMAND.COM |
> Unfortunately, INT 2Eh has this problem (quoting from the link provided): |
| alexfru USA, 13.09.2014, 01:00 @ tom |
C's system() & COMMAND.COM |
> if you want to be compatible to Borland or Microsoft, system("command") is |
Thread view