Pipes bug when spawning non-cygwin processes

Edward Lam triplequadsupport@gmail.com
Thu Feb 20 19:33:00 GMT 2020


Hi Takashi,

On Tue, Feb 18, 2020 at 2:43 PM Takashi Yano wrote:

> Could you please provide a simple test case?


Here you go:

// pipes.cpp
//
// Compile in a  Visual Studio x64 Native Tools Command Prompt:
//     cl pipes.cpp /link /subsystem:windows
//
// Run from inside a Cygwin shell, the produced pipes.exe
//

#include <stdio.h>
#include <windows.h>

INT WinMain(HINSTANCE, HINSTANCE, PSTR, INT)
{
    printf("This message used to show up in mintty cygwin v.2.11.2 shell!
or from ssh session\n");
    return 0;
}
// end of pipes.cpp

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list