X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=ExAtELYZKehYbNOH 6byQkhD+A1SuGM/jgLHfdfjwht/ICXV9ug28jOJJ3wWdG7/5OQV/UfBjXJ2Y8S7P 8la4b9LNfJJtVu4a5B3bGdDT9KhijhDNy7GT6Ty+RzI/78jh9NRUoHT3yhy5wvxM 4LYnjpNbGK4vVgvyX3L1AHVc7pw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=Fuur4om8tvvziiiga8gl5u Rtjzc=; b=gWpL9zxpw4fJfhgV3wSG6ki7SkYJWtkBr+aB6OvuxYnbcM//sv+rgQ 6dOVMzCAWn7TkPKzjjpCAAWIpvre8qbGY7F+hurACa1fWUCtmuwPZHw+txtS443D GCygLzB1GCXI4EduDftreTpgDeXIn3yuOGhI8YBHNrSayAeOkVGx0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Sun, 4 Feb 2018 23:51:28 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1387783386.20180204235128@yandex.ru> To: Ben , cygwin AT cygwin DOT 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 AT yahoo DOT co DOT uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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