Really simple Python kicker script. I believe the subprocess module started in Python 2.4.
#!/usr/bin/env python import sys, subprocess command=["nedit", "-create"] if len(sys.argv) > 0: command+= sys.argv[1:] try: subprocess.Popen(command) except: print "Error executing NEdit."
No comments:
Post a Comment