On Jul 1, 2019, at 8:34 PM, Matt <mattator@xxxxxxxxx> wrote:
> I want my program to determistically run on other computers as well,
> thus I can't assume anything in advance about users' lua script. I had
> not really thought about compiled plugins but that's the same issue,
> these optional modules may alter the way my program expects tshark to
> behave.
I.e., you want a "disable all user plugins" option.
If you *really* want the program to run deterministically for all users, you also need a "disable the user's personal configuration" option.
> I believe for my usecase, the best is to wrap the tshark call with an
> XDG_CONFIG_HOME pointing nowhere or to a vanilla wireshark config. Not
> sure if there is any difficulty though, I will have a try.
As long as the "other computers" aren't running Windows, where XDG_CONFIG_HOME has no effect....