x = RunProgram(
executable( "/path/anaconda/bin/python" ),
options( "/path/filename.py" ),
readfunction( "blob" )
);
Then to do the opposite, run JSL from a python script. This works on a Mac, JMP 13.2 (and this is python not jsl)
import os
os.system('open /Applications/JMP\ Pro\ 13.app/Contents/MacOS/JMP /path/script.jsl')
the open argument has the application path, one space and then the path/file to open.
Its probably imporant to have
//!
on the first row of the script so it will auto run. And then on the last line, include this
Quit();
This will close the instance of JMP that os.sytem started.
JMP Systems Engineer, Health and Life Sciences (Pharma)