Date: Sat, 19 May 2001 19:45:50 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: i_b_malone AT yahoo DOT com (imalone) Message-Id: <3277-Sat19May2001194548+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <3b065312.2872240@nntp-serv.cam.ac.uk> (i_b_malone@yahoo.com) Subject: Re: spawn() problem. References: <3405-Fri18May2001104125+0300-eliz AT is DOT elta DOT co DOT il> <2427-Fri18May2001125319+0300-eliz AT is DOT elta DOT co DOT il> <3b065312 DOT 2872240 AT nntp-serv DOT cam DOT ac DOT uk> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: i_b_malone AT yahoo DOT com (imalone) > Newsgroups: comp.os.msdos.djgpp > Date: Sat, 19 May 2001 11:09:17 GMT > > Incidentally, is there any way of calling a program with a command > line longer than 128 characters if it wasn't compiled by djgpp? It depends on the program being invoked. Programs compiled with Windows compilers usually look at the CMDLINE environment variable if the normal DOS command tail says the command was too long. DJGPP will support invocation of such command in the next release, but you could code it itself if you are desperate; the information is in Ralf Brown's Interrupt List. Many programs also support the so-called ``response files'', whereby a program is invoked like this: program @file and the actual command line is written to the named file. But if the program you want to invoke doesn't support any of these methods, you are stuck with the DOS 126-character limit.