delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/12/10:58:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <026501c21221$d4f5e260$afcb4603@gsoi.med.ge.com>
From: "prateek" <arora DOT prateek AT med DOT ge DOT com>
To: <cygwin AT cygwin DOT com>, "Andre Bleau" <bleau AT igb DOT umontreal DOT ca>
References: <4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20020612103250 DOT 02005ea0 AT irispavp DOT igb DOT umontreal DOT ca>
Subject: strange behaviour of cygwin build executable
Date: Wed, 12 Jun 2002 20:30:02 +0530
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019