Mail Archives: djgpp/1999/05/30/12:18:03.1
^Hawk^ (Hawk AT DarkSoft DOT Net) wrote:
: I want to execute a simple command line like "d:\temp\temp.exe
: command1 command2 ..." or "temp.exe" or "temp.exe command1". The path
: / the program and the commands (if given) are all in the same string.
:
: How can I execute those single strings via spawn or exec ? It looks
: (in the docs) that spawn/exec need much more params as I have.
Examine libc's system().
: Ohh ... the program which I want to execute out of my program is a dos
: real mode program and it should not executed within the 640KB because
: there is not enough free if my own program runs.
Real mode and not "within the 640KB" don't compute (in x86).
Does your program really use all DOZE memory (through
__dpmi_allocate_dos_memory() and similar calls)? If not, how did you
reach this conclusion? If it do, I don't see any obvious solution.
Alanis Morissette, Supposed Former Infatuation Junkie,
MartinS
- Raw text -