Mail Archives: djgpp-workers/2001/02/07/12:33:58
> Mark, was this port built with the modified version of dosexec.c or with
> the stock version from djdev203.zip?
A modified version of dosexec.c, but the modification makes no difference. I
tested with a trivial program with 2.03 with LFN=Y and LFN=N. Note that a
message will print in both cases, but the script will only run when LFN=Y.
doscript.c:
#include <process.h>
#include <errno.h>
int main()
{
spawnl(P_WAIT, "script.sub", "script.sub", 0);
if (errno)
perror("script.sub");
return 0;
}
script.sub:
#! /bin/sh
echo "ran script.sub"
It seems that when LFN=N only programs that end in .exe, .bat, .etc can be
run.
Mark
- Raw text -