这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jonatanolofsson
Copy link
Contributor

@jonatanolofsson jonatanolofsson commented Aug 30, 2024

In tup monitor, tup uses "tup" as path to tup in the rebuild instead of calling the currently executed version. This commit fetches the current executable (using /proc/self/exe) and uses the same path for the new update process.

@jonatanolofsson
Copy link
Contributor Author

Note that the executable is not sent to the monitor in argv[0], so this fix is linux(/unix?) specific. Note however that the entire monitor function is linux only, so I figure that's alright.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant