Author Cezary.Wagner
Recipients Cezary.Wagner, asvetlov, paul.moore, steve.dower, tim.golden, yselivanov, zach.ware
Date 2018-12-15.11:02:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544871754.46.0.788709270274.issue35268@psf.upfronthosting.co.za>
In-reply-to
Content
Stockfish works like that:
1. Run command line and listen stdout.
2. Send some stdin and listen stdin.
3. stdout is asynchronous and continous (there no single output, line is generated every some time).

I want to send some stdin than listen stdout response from Stockfish.

I tested that first execute of it block all:
line = await stockfish.stdout.read()

One line is read and application becomes dead. Should show much more lines but it stops in Windows 10.
History
Date User Action Args
2018-12-15 11:02:34Cezary.Wagnersetrecipients: + Cezary.Wagner, paul.moore, tim.golden, asvetlov, zach.ware, yselivanov, steve.dower
2018-12-15 11:02:34Cezary.Wagnersetmessageid: <1544871754.46.0.788709270274.issue35268@psf.upfronthosting.co.za>
2018-12-15 11:02:34Cezary.Wagnerlinkissue35268 messages
2018-12-15 11:02:33Cezary.Wagnercreate