瀏覽代碼

Revert https://trac.osgeo.org/grass/changeset/49565

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@50580 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 13 年之前
父節點
當前提交
9f0d8df818
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      lib/python/core.py

+ 1 - 3
lib/python/core.py

@@ -164,10 +164,8 @@ def start_command(prog, flags = "", overwrite = False, quiet = False, verbose =
 	    popts[opt] = val
 	else:
 	    options[opt] = val
+
     args = make_command(prog, flags, overwrite, quiet, verbose, **options)
-    if sys.platform == 'win32' and os.path.splitext(prog)[1] == '.py':
-        os.chdir(os.path.join(os.getenv('GISBASE'), 'scripts'))
-        args.insert(0, sys.executable)
     
     global debug_level
     if debug_level > 0: