From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93215 invoked by alias); 2 Feb 2018 08:31:40 -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 93204 invoked by uid 89); 2 Feb 2018 08:31:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:296, H*u:6.1, H*UA:6.1, H*Ad:D*co.uk X-HELO: sonic302-19.consmr.mail.ir2.yahoo.com Received: from sonic302-19.consmr.mail.ir2.yahoo.com (HELO sonic302-19.consmr.mail.ir2.yahoo.com) (87.248.110.82) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 02 Feb 2018 08:31:38 +0000 Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Fri, 2 Feb 2018 08:31:35 +0000 Received: from smtpgate101.mail.ir2.yahoo.com (EHLO [192.168.0.10]) ([217.146.189.7]) by smtp402.mail.ir2.yahoo.com (JAMES SMTP Server ) with ESMTPA ID 496bd03eb5e7343ba793650eebedddc9 for ; Fri, 02 Feb 2018 08:31:32 +0000 (UTC) To: Cygwin MailList From: "Ben via cygwin" Reply-To: Ben Subject: How to start Cygwin from outside Cygwin and pass a command to execute? Message-ID: <4df6f54b-5898-76f9-ebf6-1a2e40c65aa5@yahoo.co.uk> Date: Fri, 02 Feb 2018 08:31:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-SW-Source: 2018-02/txt/msg00010.txt.bz2 Assume my CgyWin (on a windows 7) is currently NOT started. Assume I want to call from Windows my CgyWin and pass a command to execute. Afterwards CygWin should automatically be closed again. How can I achieve this? Ben -- 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