Re: dbus-launch behaviour



>  The man says:
>  
>  Finally, you may use the --sh-syntax,  --csh-syntax,  or  --auto-syntax
> commands to cause dbus-launch to emit shell code to set up the environ-
> ment.  This is useful in shell scripts. 
>  so I do: [rob cailleach rob]$ dbus-launch --auto-syntax
> DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-jElO6fvJT2' export
> DBUS_SESSION_BUS_ADDRESS DBUS_SESSION_BUS_PID=5586 [rob cailleach rob]$
> export | grep DBUS [rob cailleach rob]$ any clues? 
>  
>  
you need to use eval:
eval `dbus-launch --auto-syntax`

Cheers,
-Thom



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]