davydany/sultan

Set which command to run

Opened this issue · 0 comments

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.