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 sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <394E3A93.CDF10675@cisco.com> Date: Mon, 19 Jun 2000 11:21:56 -0400 From: Zhiguang Qian Organization: CPVBU X-Mailer: Mozilla 4.51C-CISCOENG [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com, cgf AT cygnus DOT com Subject: Re: Interface between Cygwin and NT CMD Shell References: <394E25FF DOT A205A6B5 AT cisco DOT com> <20000619110510 DOT C14829 AT cygnus DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Here is my situation. I have any application which runs triggers on CMD shell (dos script). I have unix shell scripts and want to use those unix shell scripts on NT. To do it I use cygwin. What I did is to wrap "bash " in a DOS batch file. Now I need the status of the unix script pass ing back to the application. Thanks. Zhiguang Qian Cisco Systems Chris Faylor wrote: > On Mon, Jun 19, 2000 at 09:54:07AM -0400, Zhiguang Qian wrote: > >I'd like to know the interface between Cygwin and NT CMD shell. I am > >working on a project integrating an application with NT using Cygwin > >bash. I have to invoke cygwin bash to run boune shell scripts. What does > >cygwin bash return to CMD shell? How to test the return from cygwin > >bash? > > > >I think this is importent to know this interface because we'd like to > >integrete cygwin with other developing tools. > > You are aware that the Cygwin library is GPLed, right? That means that > if you are developing a commercial application with cygwin you should > contact cygwin-info AT cygnus DOT com unless you are planning on releasing > GPLed applications. > > As far as what cygwin returns, since I'm not exactly sure what you're > asking for, you'd probably be best served by inspecting the code and > experimenting with simple test programs. > > cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com