www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Oleksandr Gavenko <gavenko AT bifit DOT com DOT ua> |
Subject: | Re: How to run a bash script that calls a Win exe under Windows without installing Cygwin? |
Date: | Wed, 19 Oct 2011 11:39:45 +0300 |
Lines: | 42 |
Message-ID: | <j7m2ce$tl2$1@dough.gmane.org> |
References: | <CAExwyV88dqJShKKO9-y=4FkxdqsOTM7-=pD9-FYg4PrzZo9a5A AT mail DOT gmail DOT com> <CAExwyV_6BiuWbHuTX9btmjKJVLGVgXW7uSm1y2=jU00bTXetbg AT mail DOT gmail DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
In-Reply-To: | <CAExwyV_6BiuWbHuTX9btmjKJVLGVgXW7uSm1y2=jU00bTXetbg@mail.gmail.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Note-from-DJ: | This may be spam |
19.10.2011 10:57, bagvian пишет: > Dear all, > > I have gone through Cygwin FAQ and documentation, did some googling > but could not find any answer to my cross system problem. > > I currently work under Win Vista and have a proper Cygwin installation > running perfectly. > I have to perform heavy tests on a Windows console executable program > say: MYPROG.exe (obtained by using MS Visual Studio). > To test such a program I have written a bash shell script, say: > MYSHELL.sh, that does the following things: > 1/ Build up data files > 2/ Launch my Win exe: MYPROG.exe > 3/ Organise all the resulting data > > This procedure works perfectly on my own machine and all my tests are > performed by only running MYSHELL.sh in my Cygwin console. > > Now, I need to perform the same test procedure on another Win Vista > machine where Cygwin is not installed. I therefore have to find a > solution around the Win prompt (cmd.exe). > > Basically, I can copy anything on that machine but I cannot install Cygwin. > > Is there a way to run my script MYSHELL.sh within Win prompt by only > copying Cygwin dll (cygwin1.dll) at the right place and maybe changing > some settings ? > > Would it be possible (better) to adopt another strategy that would be > to write a "macro" Win console exe file that can run in the Win prompt > and that would kind of embed / link with: cygwin1.dll, MYSHELL.sh, > MYPROG.exe ? > > I thank you in advance for any suggestion. Run ldd `which bash` and copy to new host all listen dll with bash in same dir. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |