Fails to launch batch script in some directories

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Apr 20 13:11:00 GMT 2018


On Apr 20 14:33, David Macek wrote:
> Whoa, an interesting bug. I'm forwarding this to the Cygwin mailing list for reference. I might take a deeper look over the weekend if no-one beats me to it.
>> It seems like running batch files (.bat, .cmd) inside a directory with an at sign and a space (such as '@ x' or 'x @') fails.
>> /w/temp/@ x$ ./hello.bat
> 'W:\temp\@' is not recognized as an internal or external command,
> operable program or batch file.

Funny. That's very likely a bug in the @file handling in function
insert_file() in dcrt0.cc. This is basically stone-age old code
to pamper starting Cygwin tools with too long commandl ines from cmd.
I'm looking forward with what you're coming up with.
Corinna
-- 
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20180420/b8ae5168/attachment.sig>


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /