[Nuxeo-tickets] [Nuxeo Repository] #1634: Searching for binaries in PATH environment variable

Nuxeo Repository trac at nuxeo.com
Thu May 4 11:02:46 CEST 2006


#1634: Searching for binaries in PATH environment variable
------------------------------+---------------------------------------------
       Id:  1634              |      Status:  new                     
Component:  PortalTransforms  |    Modified:  Thu May  4 11:02:46 2006
 Severity:  enhancement       |   Milestone:  CPS 3.4.1               
 Priority:  P1                |     Version:  TRUNK                   
    Owner:  trac              |    Reporter:  FabriceRobin at bbs-one.fr 
------------------------------+---------------------------------------------
 I suggest to enhance PortalTransforms in order to search for binaries in
 the PATH variable instead of the static list '/bin', '/usr/bin' et
 '/usr/local/bin'.

 The file libtransforms/utils.py must be modified from:

 ''bin_search_path = [
 ''    '/bin',
 ''    '/usr/bin',
 ''    '/usr/local/bin',
 ''    ]''

 to:

 ''import os''
 ''bin_search_path = os.environ['PATH'].split(':')''

 Regards,
 Fabrice Robin

-- 
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1634>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository


More information about the Nuxeo-tickets mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.