Re: cygwin programs called from non-cygwin programs mauling \" in args

2005-04-06 Thread Corinna Vinschen
On Apr 6 02:09, Yitzchak Scott-Thoennes wrote: > Corinna, have you a chance to think about this? I've come to think that > using the MinGW rules makes most sense. I didn't think any further about this. It's not that important since it's easily workaroundable. I also fear we get the usual compl

Re: cygwin programs called from non-cygwin programs mauling \" in args

2005-04-06 Thread Yitzchak Scott-Thoennes
On Thu, Jan 20, 2005 at 10:26:13AM +0100, Corinna Vinschen wrote: > Yitzchak, > > On Jan 19 15:34, Yitzchak Scott-Thoennes wrote: > > > $ ./nocygparent cygchild > > > [a\b"c] > > > > Can anybody else confirm this? > > I can. I already had a look into this. The command line handling in > Cygwin

Re: cygwin programs called from non-cygwin programs mauling \" in args

2005-01-20 Thread Corinna Vinschen
On Jan 20 01:41, Yitzchak Scott-Thoennes wrote: > On Thu, Jan 20, 2005 at 10:26:13AM +0100, Corinna Vinschen wrote: > > Yitzchak, > > > > On Jan 19 15:34, Yitzchak Scott-Thoennes wrote: > > > > $ ./nocygparent cygchild > > > > [a\b"c] > > > > > > Can anybody else confirm this? > > > > I can. I

Re: cygwin programs called from non-cygwin programs mauling \" in args

2005-01-20 Thread Yitzchak Scott-Thoennes
On Thu, Jan 20, 2005 at 10:26:13AM +0100, Corinna Vinschen wrote: > Yitzchak, > > On Jan 19 15:34, Yitzchak Scott-Thoennes wrote: > > > $ ./nocygparent cygchild > > > [a\b"c] > > > > Can anybody else confirm this? > > I can. I already had a look into this. Wonderful! Thanks a lot! > The comm

Re: cygwin programs called from non-cygwin programs mauling \" in args

2005-01-20 Thread Corinna Vinschen
Yitzchak, On Jan 19 15:34, Yitzchak Scott-Thoennes wrote: > > $ ./nocygparent cygchild > > [a\b"c] > > Can anybody else confirm this? I can. I already had a look into this. The command line handling in Cygwin is different from the command line handling in MingW or, FWIW, VC++ CLI applications.

Re: cygwin programs called from non-cygwin programs mauling \" in args

2005-01-20 Thread Yitzchak Scott-Thoennes
ygwin.com > > Subject: Re: cygwin programs called from non-cygwin programs > > mauling \" in args > > > > On Wed, Jan 12, 2005 at 10:42:48PM -0800, Yitzchak > > Scott-Thoennes wrote: > > > $ cat child.c > > > #include > > &

RE: cygwin programs called from non-cygwin programs mauling \" in args

2005-01-19 Thread Gary R. Van Sickle
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Yitzchak Scott-Thoennes > Sent: Wednesday, January 19, 2005 5:34 PM > To: cygwin@cygwin.com > Subject: Re: cygwin programs called from non-cygwin programs > mauling \" i

Re: cygwin programs called from non-cygwin programs mauling \" in args

2005-01-19 Thread Yitzchak Scott-Thoennes
On Wed, Jan 12, 2005 at 10:42:48PM -0800, Yitzchak Scott-Thoennes wrote: > $ cat child.c > #include > int main(int argc, char **argv) > { > printf("[%s]\n", argv[1]); > return 0; > } > > $ cat parent.c > #include > int main(int argc, char **argv) { > char *args[] = { argv[1], "a\\\"b\\\"c"

Re: cygwin programs called from non-cygwin programs mauling \" in args

2005-01-13 Thread Yitzchak Scott-Thoennes
On Wed, Jan 12, 2005 at 10:42:48PM -0800, Yitzchak Scott-Thoennes wrote: > Given a simple child process that prints its argument, and a parent > that execs it passing a\"b\"c, trying combinations of cygwin and non- > cygwin parent and child shows inconsistency in what's received: > > $ cat child.c