bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subproces


From: Eli Zaretskii
Subject: bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10
Date: Mon, 11 Jan 2016 19:51:11 +0200

> Cc: address@hidden
> From: Clément Pit--Claudel <address@hidden>
> Date: Mon, 11 Jan 2016 12:18:27 -0500
> 
> Here is a simplified test case, which only assumes node.js:
> 
> * In a file C:\blackhole.js
> 
> function blackhole() {
>     var stream = process.openStdin();
>     stream.setEncoding("utf-8");
>     stream.on('data', function (chunk) { process.stdout.write(chunk); });
> }
> blackhole();

Thanks.  Are all the affected programs written in JavaScript?  Do they
all set stdin encoding to UTF-8?  If so, does the problem go away if
you remove the line that sets the encoding?

> Do you think you could run this example?

It doesn't run on this machine, I guess I never bothered to set up
JavaScript on it.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]