So after discussing this with the helpful folks on the Sublime Merge repository, I was able to figure out what the problem is, it is happening because the
ssh-askpass-sublime functionality for
sublime_merge actually depends on passing a special value as the
argv to the
sublime_merge executable. However the
sublime_merge file that
ssh-askpass-sublime is trying to pass the
argv to is actually a wrapper script that calls
exec to run the actual binary after setting up the proper environment variables. There doesn't appear to be any way for the bash script to detect the argv that was passed to bash as $0 is overwritten with the path to the bash script. I'm not sure how we will resolve this issue but at least we know what is causing it now. Maybe we can create a wrapper for the
ssh-askpass-sublime script that helps it execute the call properly against the un-wrapped binary or something.
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.