Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7657295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:59:38+00:00 2026-05-31T12:59:38+00:00

I have cygwin installed on my win 7 pc. When I’m running the python

  • 0

I have cygwin installed on my win 7 pc. When I’m running the python shell, I get the OS name as posix (which is expected) and many DOS commands don’t work using os.system("DOS command").

Is there a way I can avoid entering the posix shell from Windows command prompt?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T12:59:39+00:00Added an answer on May 31, 2026 at 12:59 pm

    You need to run the native Windows Python interpreter rather than the Cygwin port.

    Assuming you already have both installed on your system, check your PATH setting to confirm the native Windows edition comes first.

    If this doesn’t work for you, and you’d RATHER run the Cygwin port, then you are going to have to avoid os.system() calls, and instead switch to using the new subprocess package. Give a read over http://docs.python.org/library/subprocess.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am running Cygwin Python version 2.5.2. I have a three-line source file, called
I get the following error compiling with make (I have cygwin.dll) *** Couldn't reserve
I have been researching how to get Cygwin to work under emacs . I
I have been running drush scripts (for Drupal ) with Cygwin on my relatively
I have Cygwin installed, I want to execute something like this on the command
I have Beyond Compare 3 installed at; C:\Program Files\Beyond Compare 3\BCompare.exe and Cygwin; C:\Cygwin\bin\bash.exe
I'm using Windows XP, TortoiseGit (latest version) and Cygwin. I have git.exe installed and
I'm trying to run genhtml using perl.exe from Cygwin in Windows. I have installed
I understand the basic syntax of Objective-C, have installed Cygwin, and want to experiment.
i have installed the cygwin package for my netbeans IDE. I can use that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.