|
From: | Laimonas Vėbra |
Subject: | bug#6546: bug#6705: w32 cmdproxy.c pass args to cygwin; erroneous charset conversion (problem description, solution/suggestion) |
Date: | Thu, 22 Jul 2010 21:14:08 +0300 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6 |
Jason Rumney wrote:
Don't use cmdproxy with Cygwin programs. If you need a shell in between, use Cygwin bash. cmdproxy is a wrapper to get around some problems with various versions of the Windows native cmd.exe and command.com shell programs. Mixing Cygwin and native Windows is not advised.
That doesn't solve the problem (try to pass utf-8 string from Emacs to cygwin/bin/(ba)sh.exe or any other cygwin app), nor it anyhow complicates the matter (cmdproxy just passes commandline to CreateProcess(); same happens in w32proc.c calling /bin/sh instead of cmdproxy.exe). The problem is not cmdproxy itself, but winapi/cygwin layer and the way the args are passed/transcoded using CreateProcess(A) -> cygwin layer.
[Prev in Thread] | Current Thread | [Next in Thread] |