Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.1.2.20011105153534.01675150@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Mon, 05 Nov 2001 15:36:18 -0500 To: m DOT buchmeier AT fz-juelich DOT de, Kevin Schnitzius From: "Larry Hall (RFK Partners, Inc)" Subject: RE: system() function doesnt work outside cygwin Cc: "'m DOT buchmeier AT fz-juelich DOT de'" , cygwin AT sources DOT redhat DOT com In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 02:27 PM 11/5/2001, mbuch AT IFF572 DOT IFF DOT KFA-JUELICH DOT DE wrote: >On Mon, 5 Nov 2001, Kevin Schnitzius wrote: > > > Date: Mon, 05 Nov 2001 14:12:55 -0500 > > From: Kevin Schnitzius > > To: "'m DOT buchmeier AT fz-juelich DOT de'" , > > cygwin AT sources DOT redhat DOT com > > Subject: RE: system() function doesnt work outside cygwin > > > > Try this program: > > > > main() > > { > > system("cmd /c echo %path%"); > > } > > > >It does the same: >No output, not even an error-message when called from command-window >or explorer and the expected output when called form inside cywin >(bash) Ah, your path is different in bash than it is in Windows... Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/