os:cmd/1 and binary output (PATCH)

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

os:cmd/1 and binary output (PATCH)

Daniel Néri-2

I just happened to try using os:cmd/1 to collect the output of a
program producing binary data. As the current implementation doesn't
allow this, I propose a minor change (which actually simplifies things
a wee bit):

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-diff
Size: 1557 bytes
Desc: os.erl patch
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20010129/19bafe7a/attachment.bin>
-------------- next part --------------

(The problem only affects Erlang running on Unix.)

Best wishes,

Daniel Neri                                      mailto:dn
Sigicom AB, Sweden                              http://www.sigicom.com