summaryrefslogtreecommitdiffstats
path: root/docs/afb-application-writing.md
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2018-08-27 18:25:30 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-08-28 16:34:05 +0200
commit5dd7df31306b95a3fafe6d3238d4553107a6c70f (patch)
treefa490b8ea052be83349136b43eb5b09d19b1f191 /docs/afb-application-writing.md
parent870652219335d54099ba67b721164b456b7975e9 (diff)
main-afb-daemon: Set AFB_ROOTDIR and AFB_WORKDIR in environment
It may be difficult to retrieve the root directory from bindings and from process spawn by option --exec. In the same way, well identifying the workdir might interest programs or bindings. So, from now, the environment variables below are set: - AFB_ROOTDIR: identify the rootdir as set by --rootdir and in the context of AGL it will be the widget directory - AFB_WORKDIR: identify the workdir as set by --workdir To avoid any confusion, the function realpath is used to export absolute path names. Bug-AGL: SPEC-1694 Change-Id: Id272e009ca975e28aaab8b14fa2a98fbd2216e73 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh> Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'docs/afb-application-writing.md')
0 files changed, 0 insertions, 0 deletions