# Use wolframscript to run wls files and get output in cmd?

Posted 20 days ago
164 Views
|
|
1 Total Likes
|
 I want to use wolframscript to run wls files. however, after I type wolframscript -file filename.wls, the cmd runs for a while but gives no answer.
 Wrap Print around the final output of the .wls file. Like Print[RandomReal[]]