Python Nautilus script
Diez B. Roggisch
deets at nospam.web.de
Mon Sep 15 23:00:47 CEST 2008
>>> It appears that's because HOSTNAME is not exported.
>>> But in the case of Nautilus script, how to workaround this issue?
> Alternatively, export the variable when you create it, in .bashrc or
> wherever it is getting created. That's probably the Right Thing to
> Do(tm) in this case.
Certainly not, as the OP uses a network monitoring software called
Nautilus - and that communicates state to subprocesses using environment
variables. Nothing to do with .bashrc.
More information about the Python-list