Comments (2)
This is the intended behavior. If you know that the output is UTF-8, then you can use out.encode('utf-8')
or out.force_encoding('utf-8')
from posix-spawn.
I'm right understood? It isn't bug it's feature @out.force_encoding('BINARY')
.
Why?
from posix-spawn.
Related Issues (20)
- Windows - 'which' is not recognized as an internal or external command HOT 2
- posix-spawn 0.3.9 is not compatible with ruby 1.8 HOT 1
- Why switch interpreters for cygwin? HOT 2
- Posix::Spawn::Child gets stuck when restarting service
- POSIX::Spawn.` slower than Kernel.` on MRI 2.2 HOT 3
- coompiling posix-spawn on mac failed HOT 5
- gcc error while installing gem on 32bit OS HOT 1
- deprecation warning in ruby 2.4 HOT 4
- posix_spawn_ext.so: undefined symbol: rb_fix2int HOT 6
- gem check posix-spawn has problems HOT 1
- POSIX::Spawn.system wrong return values and stale $? for missing commands HOT 2
- [macOS] POSIX::Spawn.system stale $? for missing commands HOT 1
- Get an error when compiling posix-spawn 0.3.13 HOT 10
- release 0.3.14 containing #83 HOT 4
- Release 0.3.15 for Ruby 2.7 HOT 2
- Child process erroring out instead of blocking on write to stdout on Ruby 3.0? HOT 13
- Unable to install on Termux HOT 5
- Cannot Build on M3 HOT 9
- Is posix-spawn still maintained?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from posix-spawn.