Re: Please die if you wait "too long" RtlpWaitForCriti

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dee Ayy wrote:
> On Mon, Aug 25, 2008 at 12:44 AM, vitamin <wineforum-user@xxxxxxxxxx> wrote:
> 
> > Try:
> > 
> > Code:
> > $ wine cmd
> > c:> echo "some stuff" | myexe
> > 
> 
> Interesting way to run wine.  However, I get the same response.


Then either your program is buggy or Wine's cmd doesn't fully implement what you want.

Making a simple test app points ... to your app being buggy:


Code:
#include <stdio.h>

int main(void)
{
    char buff[100];
    fgets(buff, sizeof(buff), stdin);
    printf("got \"%s\"\n", buff);
    return 0;
}

$ i386-mingw32-gcc test_pipe.c -o test_pipe.exe
$ echo "something" | wine test_pipe.exe
got "something
"
$ wine cmd
CMD Version 1.1.3

C:\>echo "something" | test_pipe.exe
got ""something"
"
C:\>









[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux