#714: spawn.c differences between 6.4 and 6.5 ---------------------------+------------------------------------------------ Reporter: neteler | Owner: [email protected] Type: defect | Status: reopened Priority: critical | Milestone: 6.4.0 Component: default | Version: 6.4.0 RCs Resolution: | Keywords: Platform: MSWindows XP | Cpu: Unspecified ---------------------------+------------------------------------------------ Comment (by glynn):
Replying to [comment:16 neteler]: > I assume that this is also needed. Only for Gentoo, AFAIK, but it won't harm elsewhere (most programs don't care about `argv[0]`). If you run a script via the shell (manually or with system()), `argv[0]` is set to the interpreter (normally to the exact path following the #!, although in the case of the "`#!/usr/bin/env python`" trick, `argv[0]` will be just "python"). So the updated version simulates "normal" execution. -- Ticket URL: <https://trac.osgeo.org/grass/ticket/714#comment:17> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
