Changeset bdb653c in sasmodels for example/fit_sesans.py
- Timestamp:
- Mar 17, 2016 12:07:15 PM (9 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 2352350
- Parents:
- 6824af5
- 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.