davydany / sultan

Sultan: Command and Rule over your Shell
https://sultan.readthedocs.io/en/latest/
MIT License
680 stars 35 forks source link

.run() outputs [sultan] command #76

Closed pnelsonsr closed 4 years ago

pnelsonsr commented 4 years ago

When I run my python3 script sultan outputs to the console which I control. Is there a way to stop this and/or grab this for later display?

pnelsonsr commented 4 years ago

I somehow had not noticed the logging=False parameter... so

with Sultan.load(logging=False) as c:
  c.mv(CFGFILE,NEWCFGFILE).run()

works as I was asking... Close this. It would be nice if there was an option to set the default behavior to this.