public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
To: cygwin-xfree@cygwin.com
Subject: Re: Cygwin 1.7.22 calls dumper when starting X
Date: Wed, 31 Jul 2013 19:22:00 -0000	[thread overview]
Message-ID: <51F96403.5020203@cwilson.fastmail.fm> (raw)
In-Reply-To: <CAK-n8j6jh9g3nL_qGG6pt8hq7jQR3xeVbqw5kCwbqyx2tbTy7w@mail.gmail.com>

On 7/31/2013 9:41 AM, Jim Reisert AD1C wrote:
 > [1] http://cygwin.com/ml/cygwin/2013-07/msg00532.html

Yeah, I need to add even more runtime-debugging in run-1.0 and put out a 
test release, so we can figure out what's going wrong there.

> Is there a way to test run-2.0?  What is the syntax to replace:
>
>> C:\Cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe

Sure:

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/bash.exe" startin="/usr/bin">
       <Arg>-l -c /usr/bin/startxwin.exe</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 -!- (e.g. -!-login for 
--login, etc).

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


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


  parent reply	other threads:[~2013-07-31 19:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-30 17:33 Jim Reisert AD1C
2013-07-30 18:37 ` Jim Reisert AD1C
2013-07-31 11:58 ` Jon TURNEY
2013-07-31 13:41   ` Jim Reisert AD1C
2013-07-31 16:10     ` Jim Reisert AD1C
2013-07-31 19:22     ` Charles Wilson [this message]
2013-08-01 11:20 Angelo Graziosi
2013-08-01 13:09 ` Charles Wilson
2013-08-01 21:34 Angelo Graziosi
2013-08-01 22:06 ` Mark Hansen

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=51F96403.5020203@cwilson.fastmail.fm \
    --to=cygwin@cwilson.fastmail.fm \
    --cc=cygwin-xfree@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).