windows - Erlang Output to text file -


i new erlang , trying find easy way output erlang command results test file in windows command line. tried far:

c:\windows\temp>erl example.erl "main" -e > output.txt 

if small script perhaps can use escript described in here

escript provides support running short erlang programs without having compile them first , easy way retrieve command line arguments

then can want work way want

escript myfunctions_tests > output.txt 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -