Re: system() not working outside of Cygwin environment

2012-01-16 Thread Yuri Gribov
Christopher, > So, if /bin/sh is not available then system() won't work. Thank you, that's precisely what I needed (you could just reply "man system", that would be enough). > Also note that if you are planning on making a program which is distributed > independent of Cygwin FYI I am installin

Re: system() not working outside of Cygwin environment

2012-01-15 Thread Christopher Faylor
On Mon, Jan 16, 2012 at 08:21:21AM +0400, Yuri Gribov wrote: >Hi all, > >Perhaps this is very basic but I was not able to find the answer in faq/docs. > >Attached is a nice small program which does system("cmd /?"); The call >works pretty well when I run it from Cygwin environment. In my >situation

system() not working outside of Cygwin environment

2012-01-15 Thread Yuri Gribov
Hi all, Perhaps this is very basic but I was not able to find the answer in faq/docs. Attached is a nice small program which does system("cmd /?"); The call works pretty well when I run it from Cygwin environment. In my situation I need to run standalone Cygwin programs (i.e. simply from Windows