[GRASS-dev] [GRASS GIS] #3089: exec_command fails if '.exe' not included in filename.

GRASS GIS trac at osgeo.org
Thu Jul 14 04:25:31 PDT 2016


#3089: exec_command fails if '.exe' not included in filename.
--------------------------+---------------------------------
  Reporter:  artegion     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.0.5
 Component:  Default      |    Version:  svn-releasebranch72
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  MSWindows 7
--------------------------+---------------------------------

Comment (by martinl):

 Replying to [comment:1 glynn]:

 > In this specific case, I'd suggest just using run_command() instead of
 exec_command(). On Windows, they amount to essentially the same thing
 anyhow; Windows doesn't have a "real" execve(); it just executes the
 command as a child process, waits for the child to terminate, then
 exit()s.

 done in all active branches (r68954, r68955, r68956). Testing welcome,
 will be included in the next daily build (1) - so 14/7+.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3089#comment:2>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list