473,385 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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
Mar 22 '08 #1
1 1091
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

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

Similar topics

4
by: Ali | last post by:
Hi, I have a script which I double-click to run. If i double-click it again, it will launch another instance of the script. Is there a way to allow only one instance of a script, so that if...
5
by: Jesús Ángel | last post by:
Hello. I have a javascript object with one attribute (name) and one method (showName). Each object instance appends a DIV to the document's body. I want that when the user clicks over the DIVS...
8
by: Paul Cochrane | last post by:
Hi all, I've got an application that I'm writing that autogenerates python code which I then execute with exec(). I know that this is not the best way to run things, and I'm not 100% sure as to...
5
by: hikums | last post by:
How are multiple instances monitored? For example, there are 30 instances running on a AIX BOX running DB2 V8, is ps -ef |grep "inst" the best way to see if the instance is running, where instanes...
8
by: mytfein | last post by:
Hi Everyone, Background: Another department intends to ftp a .txt file from the mainframe, for me to process. The objective is to write a vb script that would be scheduled to run daily to...
1
by: Kevin Otte | last post by:
Hi, I'm currently working on a program that is supposed to allow only one instance of itself. How can I transfer the data that is passed to a second instance as a parameter to the first...
4
by: Mario | last post by:
I have a C# app that runs script files. The app is launched using a command line argument to indicate which script should run. Most scripts are run indefinitely in a loop and periodically perform...
4
by: sirjohnofthewest | last post by:
If I possessed the power to sway the mind of every user in the world to delete all forms of Internet Explorer I would die a happy man. Hi guys, I frequently visit this site to get answers to my...
3
by: traceable1 | last post by:
Is there a way I can set up a SQL script to run when the instance starts up? SQL Server 2005 SP2 thanks!
4
by: Timothy Grant | last post by:
On Fri, Aug 29, 2008 at 6:51 AM, Heston James <heston_james@live.co.ukwrote: Why not look at the process list, and if you find two entries kill the one that is just starting? -- Stand Fast,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.