New Instance of script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Freaky Chris
    New Member
    • Dec 2007
    • 24

    New Instance of script

    first of all you may wish to know im using python 2.5 and windows vista & xp

    i have a script that when run from the command prompt needs to run its self again in a different command window and remain open, however i have only been able to find ways of running it within the same command window.

    Any idea's,

    thanks
  • Freaky Chris
    New Member
    • Dec 2007
    • 24

    #2
    nvm i've already worked out what i was after.
    since it doesn't matter if the window closes

    Code:
    import os
    
    os.system('start script.py')

    Comment

    Working...