Mail Archives: djgpp/1997/10/01/05:05:48
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.
- Raw text -