delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | iunknown2k4 AT yahoo DOT co DOT in (anonymous) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Problem using system( ) |
Date: | 18 Sep 2004 23:41:10 -0700 |
Organization: | http://groups.google.com |
Lines: | 15 |
Message-ID: | <f7d84cf3.0409182241.19289d11@posting.google.com> |
References: | <f7d84cf3 DOT 0409180201 DOT 713ca0b7 AT posting DOT google DOT com> <01c49dc8$Blat.v2.2.2$6fa7bb60 AT zahav DOT net DOT il> |
NNTP-Posting-Host: | 202.9.150.188 |
X-Trace: | posting.google.com 1095576070 1191 127.0.0.1 (19 Sep 2004 06:41:10 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | Sun, 19 Sep 2004 06:41:10 +0000 (UTC) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
--[snip]-- > There's no need to do that, the lower 8 bits are correctly > sign-extended into the return value (which is an int). See the test > program I posted for the much simpler way of testing the return value. I tried the program in Message-ID: <cielml$fln$1 AT nsnmpen3-gest DOT nuria DOT telefonica-data DOT net> It works as you explained. For my purpose this is enough. Thanks. But, is it better to use spawn* when the extension is not known? Or when I'm not sure if it is .exe/.com. --[snip]--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |