On 7/17/2013 11:52 AM, Charles Wilson wrote:
On 7/17/2013 10:54 AM, Charles Wilson wrote:
On 7/17/2013 10:33 AM, Corinna Vinschen wrote:
Can you quickly check if that works? If so, we have a bit less pressure
to fix libcmain.
Seems to work for run2.exe. Stay tuned for checkX.exe and run.exe.
I've uploaded run2-0.4.2-2 as a test release for both 32bit and 64bit.
However, run is more complicated; most of the application code is
actually in WinMain. I've been meaning to refactor it more along the
lines of run2, but never got around to it. Looks like I now have a
reason...but it'll take a bit longer to do, and I won't really have time
to address it until Saturday.
Until then, users of run.exe affected by this problem can use run2.exe
(today's new version) with almost the same effect:
1. create an XML file describing the program you want to launch. Here's
an example:
<?xml version="1.0" encoding="us-ascii"?>
<Run2Config
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="run2.xsd">
<SelfOptions />
<Global>
<Environment />
<Target filename="/usr/bin/mintty.exe" startin="~">
<Arg>-e /bin/bash -!-login</Arg>
</Target>
</Global>
</Run2Config>
2. Make sure all the arguments you want to pass to the target program
are represented in (the|one of the) <Arg /> elements. Be sure that all
sequences of two '-' characters are replaced by -!- (see -!-login, above).
3. Create a shortcut with the following target:
C:\cygwin\bin\run2.exe /cygwin/path/to/your/xml/file
Enjoy. (Try
C:\cygwin\bin\run2.exe --debug=3 --notty /cygwin/path/to/your/xml/file
if it doesn't work).
--
Chuck
--
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