Changes in example/fit_sesans.py [84db7a5:bdb653c] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
example/fit_sesans.py
r84db7a5 rbdb653c 1 1 import shlex, subprocess, sys 2 import platform 2 3 args = shlex.split("sesansfit.sh blah --edit") 3 4 args[1] = sys.argv[1] 4 subprocess.Popen(args, shell="True") 5 if platform.system() != "Windows": 6 args = ["sh"] + args 7 shellFlag = False 8 else: 9 shellFlag = True 10 subprocess.Popen(args, shell=shellFlag)
Note: See TracChangeset
for help on using the changeset viewer.