Revision: 69437
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 21, 2015 12:55 by brm
Initial Code
#!/usr/bin/python import os args = "" walk = os.getcwd() while argss != "quit": args = raw_input(""+walk+"> ") if args.split(" ")[0] == "cd": try: os.chdir(args.split(" ")[1]) walk = os.getcwd() except: print "no such command" else: args2 = os.popen(args) print args2.read()
Initial URL
Initial Description
Spawning shell / command prompt based environment
Initial Title
Shell spawing command
Initial Tags
Initial Language
Python