Re: antrun versus wsl versus cygwin
- Date: Mon, 18 Feb 2019 21:52:49 +0100
- From: Thomas Wolff <towo@xxxxxxxx>
- Subject: Re: antrun versus wsl versus cygwin
Am 17.02.2019 um 14:39 schrieb Franz Fehringer:
Try to set up a test that reproduces the original environment closely:
start a cmd.exe from your application, just as you're trying to start
bash. Possibly the application manipulates the path before starting an
external command. From that (cmd started from your, whatever, ant), rerun
Am 17.02.2019 um 13:53 schrieb Thomas Wolff:
Am 17.02.2019 um 12:11 schrieb Franz Fehringer:
Hi all (half off topic),
I have installed (on a Windows 10 1809 system) both Cygwin and WSL (only
the Windows component, no real Linux distribution yet).
This scenario gives me a strange problem with antrun: With <exec
executable="bash"> i always get the WSL bash instead of the Cygwin one,
although Cygwin is first in PATH (both Cygwin PATH and Windows PATH),
even so if C:/Windows/System32 (location of WSL bash) is not in the
(Cygwin) PATH at all.
I made some tries with extra parameters like seachpath to no avail.
It (naturally) works if i give the full absolute path to the Cyhwin
bash, but this is awkward.
Any hints about reason and solution?
No, just about some diagnostics (maybe your application does not see the
extended PATH?): on a Windows cmd line, say `where bash` to see if it's
I am not sure if i understand this correctly, but
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple