Skip to content

[hotfix] The call of JavaStics doesn't work on Windows

Summary

The call of JavaStics doesn't work on Windows.

Steps to reproduce

Install PASE on your Windows partition. Install JavaStics and put it at the right place. Try to launch a simulation using STICS.

What is the current bug behavior?

See Summary

What is the expected correct behavior?

JavaStics should run and write the mod_s and mod_b files for each year and each positions.

Relevant logs and/or screenshots

N/A

Possible fixes

It would be nice to see if this command works outside of PASE, just from terminal next to where JavaStics in installed on the computer: subprocess.call(["java", "-jar","JavaSticsCmd.exe","--run", "param_files", WD_file], shell=True)