This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin 1.7.22 calls dumper when starting X


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]