[erlang-questions] Best way to interface Erlang with Java code
Sat Dec 5 18:27:24 CET 2009
Hi Sean !
Ok I see. But how then cal I handle error code in Erlang if my Java program
crash or returns something different from error code 0?
2009/12/5 Sean Cribbs <seancribbs@REDACTED>
> zabrane Mikael wrote:
>> Hi List !
>> I've a small program written in "Java" which take a filename (input),
>> proceed it, and print out
>> a text (output).
>> What's the best way to be able to access to that program from Erlang?
>> My whish is get back the "output" as an Erlang binary.
> Use os:cmd/1, which returns a string/list -
More information about the erlang-questions