This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: system call
Muzero wrote:
>
> Thanks for your reply but it still do not work...
> the problem is thant under cygwin the execution of "dir" works fine but i have to run the program in an enviroment WITHOUT cygwin: it's in the DOS shell that the system() call do not works and return with code number 127.
> In the final application, i'll not use "dir" command, but another program.
system() calls /bin/sh to process the command (as the posix standards
require), and if you have no mounts there will be no /bin and hence no
/bin/sh to execute.
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/