strange behaviour of cygwin build executable

prateek arora.prateek@med.ge.com
Wed Jun 12 08:19:00 GMT 2002


Hi friends
I have wriiten in the a very simple program to print a echo statement by
system command.

#include <stdlib.h>

void main()
{
  system(" echo   this is a Test Program ");
}

I compiled gcc -o test test.cxx -mwindows
it generate test.exe

WhenI run it print " this is a Test Program " , the same exeutable when I
run on my friends computer with same operating system and configuration ,
nothing is come up. with same cygwin1.dll.
May I know why it  Showing such a strange behaviour.
Thanks
With Regards
Prateek




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list