I started using Toggl recently and upon installing and symlinking it, I came to the following error:
1 2 3 4
Running the program normally with
./TogglDesktop worked fine, but when using the symlink caused the error.
The problem was (as Damjan knew all along) that Toggl expected the path to itself as the first argument in
argv . This path was missing / wrong (don’t know really) when the binary was symlinked.
To fix, I created a Bash script:
1 2 3
made is executable:
and symlinked it instead of the binary:
I hope it helps someone.