os:cmd/1 and binary output (PATCH)

Daniel Neri <>
Mon Jan 29 19:15:04 CET 2001


        Hi,

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

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


More information about the erlang-questions mailing list