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 failed"); } puts("2"); writeln(result.output); puts("3"); receiveTimeout(dur!"msecs"(-1), (LinkTerminated t) { writeln("Done"); done = true; }, ); writeln(4); } writeln("ByeBye"); ```
Re: Behaves different on my osx and linux machines
Kagamin via Digitalmars-d-learn Wed, 27 Dec 2023 06:07:15 -0800
- Behaves different on my osx and... Christian Köstlin via Digitalmars-d-learn
- Re: Behaves different on m... Kagamin via Digitalmars-d-learn
- Re: Behaves different ... Christian Köstlin via Digitalmars-d-learn
- Re: Behaves differ... Kagamin via Digitalmars-d-learn
- Re: Behaves differ... Kagamin via Digitalmars-d-learn
- Re: Behaves di... Christian Köstlin via Digitalmars-d-learn