I want to know how to open a Terminal shell from JavaScript and then write to the command line (this would be on a dedicated server).
I have looked at using ActiveX but found that this can only be used on Windows and Internet Explorer.
The complete function I want to implement is firstly to open up a Terminal shell, open a standalone instance of Maya, run my Python script and save the Maya scene.
I want this all to run in the background after clicking the 'Export' button in my Three.js scene. Hence the reason for me wanting to be able to run the command line from my JavaScript code.