This is the mail archive of the
mailing list for the Cygwin project.
Re: strange thing for execlp() function
kaiduan xie wrote:
Hi,all,Yes, there is something wrong. You haven't said what the problem is
(other than it sucking). This program works fine for me if i change the
line to "/bin/ls.exe".
I just want to use execlp to invoke another program
from a program. It works on Linux, but it stucks on
Cygwin. Acutally, this is a very very very simple
"test2.exe",(char *)0) < 0)
printf("Error is %s\n", strerror(errno));
I also added current directy to PATH, but it still
sucks. Anything wrong?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html