From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20327 invoked by alias); 4 Feb 2018 21:05:08 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 20302 invoked by uid 89); 4 Feb 2018 21:05:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.2 required=5.0 tests=BAYES_40,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,RCVD_IN_JMF_BL,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*yandex.ru, H*M:yandex, CygWin, Sunday X-HELO: forward104p.mail.yandex.net Received: from forward104p.mail.yandex.net (HELO forward104p.mail.yandex.net) (77.88.28.107) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 04 Feb 2018 21:05:05 +0000 Received: from mxback1g.mail.yandex.net (mxback1g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:162]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 928A1182192; Mon, 5 Feb 2018 00:05:02 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback1g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id HOn300sOiE-526aGjIr; Mon, 05 Feb 2018 00:05:02 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id AaDp57Y1qC-52nixwM7; Mon, 05 Feb 2018 00:05:02 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Sun, 04 Feb 2018 20:51:28 -0000 Date: Sun, 04 Feb 2018 21:05:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <1387783386.20180204235128@yandex.ru> To: Ben , cygwin@cygwin.com Subject: Re: How to start Cygwin from outside Cygwin and pass a command to execute? In-Reply-To: <4df6f54b-5898-76f9-ebf6-1a2e40c65aa5@yahoo.co.uk> References: <4df6f54b-5898-76f9-ebf6-1a2e40c65aa5@yahoo.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-02/txt/msg00022.txt.bz2 Greetings, Ben! > Assume my CgyWin (on a windows 7) is currently NOT started. This statement makes zero sense. "Cygwin" as is is a compatibility layer (library), you can't "start" it separately from a program that uses it. > Assume I want to call from Windows my CgyWin and pass a command to execute. Just execute said command. > Afterwards CygWin should automatically be closed again. See above. > How can I achieve this? Just do it. -- With best regards, Andrey Repin Sunday, February 4, 2018 23:50:13 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple