Mail Archives: djgpp/1999/09/16/10:39:48
Klaus Reinhardt (K DOT Rdt AT TU-Berlin DOT DE) wrote:
: ----------------- mailto:K DOT Rdt AT TU-Berlin DOT DE start -------------------
: Hello!
: It's a Pascal(fpc)-program, but perhaps someone from this group could
: help.
: exec('c:\g32\bin\ls.exe',' -l y > log');
: gives:
: c:/g32/bin/ls: >: No such file or directory (ENOENT)
: Klaus.
: ----------------- mailto:K DOT Rdt AT TU-Berlin DOT DE !end! -------------------
If that Pascal exec() is anything like the C exec() (which your error
message seems to imply) then try "exec('c:\g32\bin\ls.exe',
'c:\g32\bin\ls.exe',' -l y > log');".
Right,
MartinS
- Raw text -