Changeset 57911 for grass/trunk/lib/python
- Timestamp:
- Oct 2, 2013, 1:43:59 AM (11 years ago)
- File:
-
- 1 edited
-
grass/trunk/lib/python/script/core.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
grass/trunk/lib/python/script/core.py
r57910 r57911 328 328 329 329 args = make_command(prog, flags, overwrite, quiet, verbose, **options) 330 # using Python executable to run the module if it is a script331 # expecting at least module name at first position332 # cannot use make_command for this now because it is used in GUI333 if sys.platform == "win32":334 args[0] = get_real_command(args[0])335 if args[0].endswith('.py'):336 args.insert(0, sys.executable)337 330 338 331 if debug_level() > 0: … … 484 477 """ 485 478 args = make_command(prog, flags, overwrite, quiet, verbose, **kwargs) 486 # using Python executable to run the module if it is a script487 # expecting at least module name at first position488 # cannot use make_command for this now because it is used in GUI489 if sys.platform == "win32":490 args[0] = get_real_command(args[0])491 if args[0].endswith('.py'):492 args.insert(0, sys.executable)493 479 494 480 if env == None:
Note:
See TracChangeset
for help on using the changeset viewer.
