On Sun, Sep 30, 2018 at 09:13:39PM +0200, Kristian Larsson wrote: > So you're aiming for the PostCmd? > i think so ...
> The other suggestions include writing files in various places and > checking what's been updated. They are even worse monumental hacks > than what I wrote. > no, because these are clean interfaces, even if the data path is somewhat convoluted. you otoh are parsing output that was never meant to be machine-readable. btw, if you want to hack it without patching mbsync, use 'script' or 'unbuffer'. i'll think some more about yuri's approach. i still don't like it, but it isn't worse than the lumped exit code that is already in place. _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel