Solved

Cygwin Will not start

Posted on 2004-10-13
6
226 Views
Last Modified: 2013-12-15
I have an engineer at the company I work for who is having a problem with Cygwin.  I have removed and re-installed it and so has he, and it will still not start.  When you click the Cygwin executable that runs the bask.bat it opens a window for about 1 second and then instantly dissapears.  Could this be a problem with other software he has installed that could interact with it?  Or is this a system file problem?  
0
Comment
Question by:Plexisweb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 6

Accepted Solution

by:
blkline earned 125 total points
ID: 12300923
Instead of running it from the icon, start a command line (start->run->cmd.exe) and attempt to run it from there.    You'll see what error is being reported which will help you ascertain the problem.   Check out the icon properties to determine the exact command you'll need to start it.
0
 

Author Comment

by:Plexisweb
ID: 12300970
I will try this, thank you.  Maybe I can get some headway on this thing.
0
 

Author Comment

by:Plexisweb
ID: 12309814
I recently checked back with the user and he showed me that he can execute commands while in the cygwin\bin directory but from no other location, also the shell is automatically executing itself once he enters the folder in a command prompt.  This is very odd.  Any ideas anyone?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Expert Comment

by:blkline
ID: 12310523
Do you perhaps need to add cygwin\bin into your PATH ?    You can set that from "My Computer"->"Properties"    I don't run Windows so I can't tell you the exact location within there but if you click around a bit, you'll be able to find it.
0
 

Author Comment

by:Plexisweb
ID: 12310730
Excellent Idea, thank you.  I will try that as soon as possible!
0
 

Author Comment

by:Plexisweb
ID: 12352087
I added it to the path.  It now works in all command prompts.  But the cygwin still won't launch the bash.bat.  Very weird.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question