Python Nautilus script
Diez B. Roggisch
deets at nospam.web.de
Mon Sep 15 17:00:47 EDT 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.
Diez
More information about the Python-list
mailing list