Date: Wed, 1 Oct 1997 11:03:38 +0200 (IST) From: Eli Zaretskii To: Laine cc: djgpp AT delorie DOT com Subject: Re: How to use spawn* / execl? In-Reply-To: <01bcce73$cb46b1a0$463e64c2@default> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 30 Sep 1997, Laine wrote: > I want to run a dos bat-file from my own c-program that > I've done using DJGPP. I found in the syntax help in > Rhide the commands spawn* and execl, but I don't know > wich of the 6 (I think it was six) different spawn-functions > should I use, or wich of the exec-functions. Use either `spawn*' or `system', not `exec*'. Which of the `spawn*' variety you need, depends on your application (like whether your batch file is in the current directory or on the PATH). Please read the documentation in the library reference and ask specific questions if something there is unclear.