public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Ben <bxstover@yahoo.co.uk>, cygwin@cygwin.com
Subject: Re: How to start Cygwin from outside Cygwin and pass a command to execute?
Date: Sun, 04 Feb 2018 21:05:00 -0000	[thread overview]
Message-ID: <1387783386.20180204235128@yandex.ru> (raw)
In-Reply-To: <4df6f54b-5898-76f9-ebf6-1a2e40c65aa5@yahoo.co.uk>

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

      parent reply	other threads:[~2018-02-04 21:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-02  8:31 Ben via cygwin
2018-02-02  9:17 ` David Allsopp
2018-02-02 16:11 ` Brian Inglis
2018-02-02 19:18 ` Achim Gratz
2018-02-04 21:05 ` Andrey Repin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1387783386.20180204235128@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=bxstover@yahoo.co.uk \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).