nddrylliog/rock — Issue #362: os/Pipe sends an additional null byte
Author: fredreichbier
Created: 2011-12-24 01:32:42+00:00
State: open

This: https://gist.github.com/1515877

prints:

```python
'hello world!\x00'
```

Is this expected behavior? It seems a bit strange to me. `Pipe write` is implemented as:

```ooc

/** write a string to the pipe */
write: func ~string (str: String) -> Int {
write(str toCString(), str length()+1)
}
```

Seems like this was changed by @shamanas in c0e8d24bdd821ab6021b3a422eef3943e069f304. Well ... is this really how `Process communicate` should behave? Let's talk about dat! =D

Happy Holidays, mates!