Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help with making a terminal program

Status
Not open for further replies.

Flappy

Programmer
Jul 30, 2002
35
0
0
AU
I'm currently making a terminal just for fun and to learn some python :)

I'm half way through making this terminal which sends commands to the OS by using commands.getcommand("...")

only problem is there doesnt really seem to be any environment there.. eg. environment variables, changing directories etc.

whats the best way to be able to send commands to the system (and grab its output) as well as having a terminal environment with environment variables that stay between commands?

hope that makes sense.
thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top