I'm currently trying to run a script with 2 parameters which gets called via a BASH script. The script runs fine however the list of passed parameters ,
$ScriptCommandLine, always stays empty.
According to the wolfram website the list stays empty , "If the Wolfram Language kernel was run in a way other than via a WolframScript mechanism, the $ScriptCommandLine gives an empty list."
So the script has to use the interpreter
However the raspberry pi version of Wolfram/Mathematica does not have this executable! So i tried using the only executable i found,
#!/usr/bin/wolfram -script which leads to the fact that
$ScriptCommandLine stays empty.
Do i have to install something additional / Do i have to update something? Or is there any workaround (thought about writting the parameters in a textfile with bash and let the script import these )