Jump to content
Sign in to follow this  

How to emulate Bash interface using Python?

Recommended Posts

 wish to emulate a Bash script using Python as a wrapper.

I wish it to be able to change directories, redirect code using | and > and other such commands.

I intend to take the command as input and trigger them on the underlying Bash terminal. Is this possible? Is it possible to call a Bash script in the background and pass the commands that the user provides to that script as input? MindMajix Linux

How can I combine the two together?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this