How to start a C program from Erlang node
Raimo Niskanen
raimo@REDACTED
Wed Oct 27 08:58:35 CEST 2004
Try
os:cmd("dir").
or
open_port({spawn,"find"}, Options)
if you need to analyze output. But then you have to write a loop
that receives messages from the port and so on. Try the above
command in the shell and then:
flush().
to see what messages the port generated.
sureshsaragadam@REDACTED (suresh saragadam) writes:
> or any erlang shell command to start the exe on windows,
> i mean to execute system level command from erlang shell
>
> regards
>
> suresh saragadam
>
> suresh saragadam <sureshsaragadam@REDACTED> wrote:
> Hi,
>
> I need to start a c program from erlang shell or node, i am using windows platform.
>
> regards
>
> suresh saragadam
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
--
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
More information about the erlang-questions
mailing list