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.
wenps1113
(Ling Wen)
1
hansmilton
(Hans Milton)
2
Wrap Print around the final output of the .wls file. Like Print[RandomReal[]]
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Wolframscript development workflow | 2 | 2912 | January 20, 2024 | |
| Avoid printing "Updating from Wolfram Research server ..." ? | 0 | 3864 | October 21, 2017 | |
| Does wolframscript run under Microsoft Subsystems for Linux (WSL)? | 3 | 13147 | April 2, 2019 | |
| Execute a wls file in a terminal window started by Wolfram Engine? | 1 | 9282 | December 29, 2020 | |
| Pass the contents of pbpaste into a script | 0 | 4344 | May 26, 2020 |