473,396 Members | 2,011 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,396 software developers and data experts.

os.EX_USAGE and friends not available in Windows?

I'm writing scripts that run on Mac OS X and Windows. For automated
testing purposes, I wanted to standardize my exit codes, so discovered
that the Unix sysexit codes were available from the posix module as
os.EX_*.

I changed things around on the Mac, then tested on Windows and the
constants don't seem to be available there. Have I missed something?

Thanks,
Rush

Nov 7 '07 #1
0 1092

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

Similar topics

2
by: Chris | last post by:
Hi, I need to get the following VB6 code to work in .NET: '///// Dim doc As MSHTML.HTMLDocument .... doc.getElementsByName("username").Item(0).Value = sn...
11
by: Micha | last post by:
Hello there, I think I've run into some classic c++ pitfall and maybe some of you guys can help me out. For my project I will need to use matrices and vectors and so I decided to implement them...
0
by: Steve | last post by:
As a bit of background as well as a developer I'm an XBOX gamer. Within XBOX Live (XBL) users have the ability to generate a list of players they regularly play with (Friends list). This list is...
3
by: James | last post by:
Hello, I want to show my friends my c# work, but sending them the bin/release/progname.exe program doesnt work. Research has indicated this is because they have the .net framework v1.1 -...
1
by: chandru | last post by:
hai friends, Iam developing a application using .NET remoting ,in which it shuts down,logs off , restart , locks remote PC.i tried to use windows ExwindowsEXAPI for shutdown,logoff , restart ...
4
by: SomeGuyHere | last post by:
If you guys get any links from your "friends" asking you to login to some website with your windows live account you may be getting garbage from one of your friends hacked accounts. Especially if...
4
by: while-one | last post by:
When I make a new website, during development I create a new virtual domain definition (using a temporary, made-up name) in apache's configuration, and then bounce my server. Then, on the client...
3
by: Mchizi_Crazy | last post by:
Please help with issue... I heard of compatimbiltity issues and would like clarification.
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
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...
0
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,...
0
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...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.