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

Output everything #68

Open
MaartenUreel opened this issue Sep 19, 2018 · 1 comment
Open

Output everything #68

MaartenUreel opened this issue Sep 19, 2018 · 1 comment

Comments

@MaartenUreel
Copy link

I'm using Sultan for an automated installation script internally.

I would always like to see the output. Now I do that like this:

r = s.sh('./configure').run()
print('\n'.join(r.stdout))

But I have a lot of commands. Can I configure that as a constructor parameter or something?

@davydany
Copy link
Owner

Unfortunately, this is the best way to do it. You can play with the syntax like this, if you want a one liner:

s.sh('./configure').run().print_stdout()

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

2 participants