feat: add env option and refactor command generate method
Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
@ -80,7 +80,14 @@
|
||||
Extra options can be passed in `options` argument:
|
||||
1. `uid` (type u):
|
||||
The user id as who is that application will be run.
|
||||
This option might request a polikit authentication."
|
||||
This option might request a polikit authentication.
|
||||
2. `env` (type s):
|
||||
passing some specific environment variables to Launch
|
||||
this application, eg. 'LANG=en_US;PATH=xxx:yyy;'
|
||||
|
||||
NOTE:
|
||||
when application try to be launched by other user identity,
|
||||
all environment variables will be ignored.
|
||||
/>
|
||||
</method>
|
||||
</interface>
|
||||
|
Reference in New Issue
Block a user