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

Set which command to run #75

Open
pnelsonsr opened this issue May 24, 2020 · 0 comments
Open

Set which command to run #75

pnelsonsr opened this issue May 24, 2020 · 0 comments

Comments

@pnelsonsr
Copy link

pnelsonsr commented May 24, 2020

Is there a way to set the command that sultan runs?

from sultan.api import Sultan
with Sultan.load() as c:
  c.mv(CFGFILE,NEWCFGFILE).run()

I run at a bash command line the following:
which mv
i get:
alias mv='mv -i'
/usr/bin/mv

I believe my c.mv command is doing /usr/bin/mv but I was wondering if there is a way to make sure? BTW I'm using mv as an example as I have a much more complex issue but the answer to this will help.

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

No branches or pull requests

1 participant