AppImage / AppImage/AppImageKit

Should an exec wrapper be used?

未關閉
#396 23 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
沒有語言資料
星號
9.4k
分支
588
PR 合併指標
PR 指標待擷取

描述

So KDE AppImages are using these exec wrappers which are preloaded as libraries, right?
It took me a while to find the source code of it:
``` sh
git clone git://anongit.kde.org/scratch/brauch/appimage-exec-wrapper
```

There's an interesting comment in the source code about what this is actually meant for:
> Whenever your application invokes a child process through execv() or execve(),
this wrapper will intercept the call and see if the child process lies
outside of the bundled appdir. If it does, the wrapper will attempt to undo
any changes done to environment variables before launching the process,
since you probably did not intend to launch it with e.g. the LD_LIBRARY_PATH
you previously set for your application.

This sounds reasonable to me. Do you think this is something worth to implement your upstream binaries?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。