473,386 Members | 2,042 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,386 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 1091

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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
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
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,...

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.