Fork: Difference between revisions
m
→{{header|Mathematica}}
(Fork en FreeBASIC) |
|||
Line 997:
end</lang>
=={{header|Mathematica}}/{{header|Wolfram Language}}==
This code will run a standalone Mathematica kernel, putting the result of a command in a temporary file:
<lang Mathematica>commandstring = First[$CommandLine] <> " -noprompt -run \"Put[Factorial[20],ToFileName[$TemporaryDirectory,ToString[temp1]]];Quit[]\""
|