## scripting – Installing WolframScript (12) on OSX (Catalina)

I did a clean install of Catalina (OSX 10.15) and the Mathematica 12.0 installation was bug free. However, I can not install WolframScript, which I really need.

During the installation I get the following error after entering my password:

This package is not compatible with this version of macOS.
The package tries to install content on the system volume. Contact the software manufacturer for assistance.

And I just have a "Quit" button to click.

I can not mention this problem on Google or here. Actually, Google shows: No results found for "This package is not compatible with this version of macOS" found mathematica.

Thanks in advance for any help or an indication of where / what to look for!

## import – How do I read reliably from stdin with wolframscript?

I'm trying to route a data stream to a `wls` Script in a command-line environment. Wolframscript delivers the `\$ScriptInputString` Symbol for reading `stdin`, However, if the input is large, no input appears to be read.

How do I read from standard input for large formats?

Minimal (not working) example:

``````for i in $$(seq 0$$SIZE); do echo \$i; done | wolframscript -print -c \$ScriptInputString
``````

When `\$SIZE=100000` (one hundred thousand), outputs all integers `0` to `1000000`, When `\$SIZE=1000000` (one million) is nothing.

`\$Version` is `11.3.0 for Linux x86 (64-bit) (March 7, 2018)`

## scripting – Wolframscript – no output of commands when executing PHP

I'm trying to execute a simple command via PHP:

`echo shell_exec('wolframscript -code 2+2');`

However, I can not get output from this command in this implementation. If I write only the same in cmd / powershell, it works correctly.

I'm using v12 on Windows, php7.3.

## Scripting – WolframScript does not simplify the output

I am trying to multiply a matrix and a vector (imported from a CSV) into Tungsten script to speed up a process that is usually done with Mathematica notebooks. However, this is the first time that I use Wolfram script, and it seems that it does not simplify my answers. For example, I tried the simplest example:

``````value1 = Import(file1.csv, "Table");
value2 = Import(file2.csv, "Table");

value1 = value1((1))((1)); //value1 = Sqrt(2)
value2 = value2((1))((1)); //value2 = Sqrt(3)

Print(FullSimplify(Evaluate(value1 * value2))) //should be Sqrt(2)*Sqrt(3) = Sqrt(6)
``````

This gives sqrt (6) in the normal notebook, but sqrt (2) * sqrt (3) as output on the command line with tungsten script.

I tried FullSimplify, Simplify, Evaluate, etc., but nothing seems to simplify the answer in Wolframscript.

The matrices and vectors that I eventually try to multiply are much more complicated, so I'm trying to find a solution to this simple case. I wonder if it has anything to do with the sqrt function?

Thank you in advance!

## scripting – Execute Mtahematica code in WolframScript

I am new to using WolframScript thanks to the Free Wolfram Engine for Developers and wondered if there is a way to execute a block of Mathematica code (for example, one stored in a text file or a notebook) Command of the kind `Execute(,)` and outputs the desired code. Many Thanks.

## scripting – Get a link to a Wolfram Cloud notebook from a WolframScript query?

Is there a way to do that?

``````Tungsten Script Code & # 39; Plot3D[Sin[x + y^2], {x, -3, 3}, {y, -2, 2}]& # 39; -Cloud
``````

boot up a new tungsten online notebook with the issue from the top? This is especially useful for checking the output of interactive charts.