Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: commands path selection and metaclass for utils #260

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sohorx
Copy link
Contributor

@sohorx sohorx commented May 12, 2023

/!\ The following isn´t tested. This is a first draft for discussion following the #257 Pull Request.

The latest commit (46a49d1) might not be something we wish for. Nonetheless, I found it interesting to include it here for now.

Comment on lines +44 to +51
Set debian path as default path for all the commands.
If command not present in debian path, search for the
commands in the other system directories.
This search is carried out to handle different locations
on different distros.
If the command is not found in any of the system
directories, command execution will fail because we have
set default path same as debian path.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: should be changed.

@sohorx sohorx marked this pull request as draft May 15, 2023 07:31
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.

None yet

1 participant