xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #1224


Ignore:
Timestamp:
06/11/16 17:00:18 (5 years ago)
Author:
Antoine Martin
Comment:

Done in r12795 using os.path.expandvars. We expand any variable found in the environment using the syntax $VAR or ${VAR}.

Limitations:

  • I can't think of any problems it would cause but this function is designed for expanding paths
  • We do not expand variables defined using the env switch, so --env=A=X --env=B=$A will not give you B=X

Please close if that works for you.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1224

    • Property Owner changed from Antoine Martin to psycho_zs
  • Ticket #1224 – Description

    initial v1  
    22
    33Common variables:
     4{{{
    45$HOME
    56$USER
     
    89$GROUPS
    910$LANG and $LC_* variables
    10 
     11}}}
    1112XDG vars:
     13{{{
    1214$XDG_CACHE_HOME
    1315$XDG_CONFIG_DIRS
     
    2527$XDG_SESSION_TYPE
    2628$XDG_VTNR
     29}}}