This is the mail archive of the
cygwin
mailing list for the Cygwin project.
system call
- From: Muzero <gigy at freemail dot it>
- To: cygwin at cygwin dot com
- Date: Tue, 1 Mar 2005 09:58:49 +0100
- Subject: system call
- References: <42235790.3070208@subnet142.com>
hi to all,
i have a problem with C system() call:
When i try to compile and execute a simple program like this:
int main()
{
system("dir");
return 0;
}
On CYGWIN shell it works without problems...but when i try to execute it without cygwin enviroment (on dos shell) system call do not work and exit with exit code 127.
What i should do? Thanks a lot for any help
Muzero
--
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/