Menu Close

Reply To: Bug Using Linux Tools?

#3982
Taylor MutchTaylor Mutch
Participant

Hi Alex,

Thanks for the links, that does make more sense to use subprocess.

When I use subprocess like this:

    
import subprocess32 as sub_proc
...
st_model_output_sid = str(sub_proc.call(st_exe + " " + st_run_model_command, shell=True))

It returns a scenario id 256 less than the id corresponding to the results id. I.e. If the scenario id is 296, the above returns 40. So that answers the divide by 256, but not the subtraction of 256…

Cheers,
Taylor