You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mostly I was lazy and just changed it for the subprocess equivalent, althought I am sure that stuff can be done without invoking the likes of mv and sed (which makes this part of code linux only, btw.)
Reason for not wanting invoke: It is not easily found in distributions, and has quite some shadowy sides.
Apparently invoke automatically adds some (to me, unknown) paths to sys.path, so that an executable will be found if in those paths (probably somewhere in .virtualenv/...?) .
Subprocess takes the system's $path.
I am currently not sure how to solve this, as I don't know where ringo places these binaries, and I don't really want to take "just some binary that is conveniently called like the file I am looking for".
I suspect there's any good reason to use an applications own user interface inside that very same application.
Instead of invokeing each other, the *-admin commands should be able to use the Python-API directly. Or do I miss something here, @toirl?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I tried to remove all
invokedependencies.Mostly I was lazy and just changed it for the subprocess equivalent, althought I am sure that stuff can be done without invoking the likes of
mvandsed(which makes this part of code linux only, btw.)Reason for not wanting invoke: It is not easily found in distributions, and has quite some shadowy sides.