By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,814 Members | 1,136 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,814 IT Pros & Developers. It's quick & easy.

New Instance of script

P: 24
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
Mar 22 '08 #1
Share this Question
Share on Google+
1 Reply


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

Expand|Select|Wrap|Line Numbers
  1. import os
  2.  
  3. os.system('start script.py')
Mar 22 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.