473,698 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Microsoft Vista and os.exec

I have wxPython programs that work fine in Win2000/XP using os.exec().

They do not work in MS Vista. Has anyone else had any luck with
exec()?

I keep getting an 'invalid option' error.

It turn out it was really a security issue and I had to move to a
"win32process.C reateProcess" solution to fix this under Vista.

There is a good example of using CreateProcess in the "Python
programming on Win32" book.

Aug 21 '07 #1
1 1588
franko353 wrote:
I have wxPython programs that work fine in Win2000/XP using os.exec().

They do not work in MS Vista. Has anyone else had any luck with
exec()?

I keep getting an 'invalid option' error.

It turn out it was really a security issue and I had to move to a
"win32process.C reateProcess" solution to fix this under Vista.

There is a good example of using CreateProcess in the "Python
programming on Win32" book.
I've also had issues with Vista... mine have to do with the execution of
scripts. I don't have a test vista box in front of me right now, all of
my vmware vistas have deactivated me into 'reduced functionality mode'.
Basically, on XP, when I execute a script it runs in the directory
that it executed in, but in Vista, it executes elsewhere... I don't
remember where exactly right off the top of my head. Other than that
issue it seems to work fine even with wxPython.
Aug 21 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1696
by: clintonG | last post by:
Google and Second Life have proven there are market$ and economie$ in the virtual worlds they and others have created. Applications in these virtual worlds require the use of vector graphics applications which are used to design, draw, and draft the user interfaces *within* the virtual world. Note the distinction, *within* meaning not the Window where the host application runs but that which is contained within the window. This is where...
11
7993
by: =?Utf-8?B?Um9iS2lubmV5MQ==?= | last post by:
Hello, We are testing and tweaking some of our software to run on Vista, but it turns out that we are having problems with one of our programs. Here is our code: // attempt an experiment to register an OCX object in silient mode try {
3
3958
by: slogging_away | last post by:
I know, I know - flame away but its not clear to me if Python will run on a system running Microsoft Vista. Is anyone successfully running Python on Vista? If so, is it what version of Python are you running? I'm ordering a new system and if Python won't work on Vista then it will definately influence the OS selection. Thanks in advance!
7
3491
by: Wiebe Tijsma | last post by:
Hi, I'm running a web application application using the Microsoft.Interop.Security.AzRoles version 1.2.0.0 in the GAC. After an upgrade to Vista, I also have a version 2.0.0.0 in the GAC. I seem to be absolutely unable to make the application load version 1.2. What I've tried:
1
2148
by: boriq | last post by:
Hi, I'm trying to compile sip 4.6 on windows vista. I have Python 2.5 installed in c:\Python25. I have Qt 4.3.0 installed in c:\Qt\4.3.0 together with MinGW in c: \MinGW. I have environment variable PATH set to c:\Qt\4.3.0\bin;c:\MinGW\bin And here is what I did: C:\sip-4.6>configure.py -p win32-g++ This is SIP 4.6 for Python 2.5 on win32.
1
1711
by: =?Utf-8?B?a2FybHJlbnR6aGVpbWVy?= | last post by:
When attempting to install Microsoft Office 2003 Professional Edition onto Windows Vista, an error message occurs stating that elevation is required to install. It is on an Acer laptop if that matters and their is more than enough room to run it. Any help or advice is greatly appreciated. Thanks.
2
1695
by: p.lavarre | last post by:
Let's suppose you get Python for Vista Windows today from http://www.python.org/download/. Should you then conclude that the tests: if platform.system() in ('Windows', 'Microsoft'): if not (platform.system() in ('Windows', 'Microsoft')): are now exactly what you should write for that 2.5.1 Python, when you must resort to os-specific tools like DeviceIoControl, in place of the
23
1815
by: jim | last post by:
Look at Microsoft and Windows apps in Vista.... They aren't .Net. If .Net is so great, why doesn't MS use it more? In fact, what desktop applications does Microsoft code in .Net? I think Microsoft avoids major desktop apps in .Net because the performance sucks. Look at Symantec's antivirus apps and Franklin Covey's Plan Plus for Windows and Neat Reciepts and you'll see what I mean. The UI performance sucks.
1
1320
by: Blackmore | last post by:
I developed a Coldfusion based website that makes use of a Microsoft Access database with an ODBC driver connection. It appears that the ODBC driver does not work properly with the Microsoft Vista operating system. I would like to be able to develop my website with a new computer I have just bought that operates with MS Vista. Does anyone have a solution to this problem? Is there another method for connecting to the MS Access database...
0
8676
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8608
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9164
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9029
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8870
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3051
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2006
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.