On Wednesday, 27 December 2023 at 14:03:06 UTC, Kagamin wrote:
Maybe you're not supposed to print text while reading?
In parallel I have contacted schveiguy on discord and he found
the culprid. But we do not have a solution yet. It probably will
result in a bugreport at https://issues.dlang.o
Maybe you're not supposed to print text while reading?
Maybe write and read lock each other, try to use puts:
```
bool done = false;
while (!done) {
puts("1");
auto result = ["echo", "Hello World"].execute;
if (result.status != 0)
{
writeln(2);
throw new Exception("echo fa
On Friday, 22 December 2023 at 15:02:42 UTC, Kagamin wrote:
Add more debugging?
```
bool done = false;
while (!done) {
writeln(1);
auto result = ["echo", "Hello World"].execute;
if (result.status != 0)
{
writeln(2);
throw new
Add more debugging?
```
bool done = false;
while (!done) {
writeln(1);
auto result = ["echo", "Hello World"].execute;
if (result.status != 0)
{
writeln(2);
throw new Exception("echo failed");
}
writeln(result
I have this somehow reduced program that behaves differently on osx and
linux.
```d
void stdioMain()
{
import std.stdio : readln, writeln;
import std.concurrency : spawnLinked, receive, receiveTimeout,
LinkTerminated;
import std.variant : Variant;
import std.string : strip;