On 8/13/2013 2:09 PM, Yaakov (Cygwin/X) wrote:
For now, I think you'll have to add a wrapper script.
Which would cause issues (dos boxes, etc) when launching from a
shortcut, unless you use run.exe or run2.exe. With run2 (assuming the
upcoming(?) release fixes the known issues), you can set environment
vars directly in the xml script:
<?xml version="1.0" encoding="us-ascii"?>
<Run2Config
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="run2.xsd">
<Global>
<Environment>
<Set var="G_SLICE" value="always-malloc"/>
</Environment>
<Target filename="/usr/bin/emacs.exe" startin="~">
<Arg>...various stuff...</Arg>
<Arg>...various stuff...</Arg>
<Arg>...various stuff...</Arg>
</Target>
</Global>
</Run2Config>
...ought to work. But there are still extant issues with run2 IIRC
(been on vacation for a while so my memory from pre-vacation is still
fuzzy).
--
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/